使用频率 | 低 |
所属模块 | Std.is |
成员类型 | 静态成员函数 |
Std.is.operatorChar方法用于判断一个字符是否为一个运算符,以下字符中的一个
+ - * / = ! > < ~ | $ ^
Boolean Std.is.operatorChar(Char c);
类型 | 描述 |
Char | 需要判断的字符 |
//true
Std.is.operatorChar('=');
//false
Std.is.operatorChar('@');