public static isOperatorChar(ch as Char) as Boolean
Checks whether ch is a standard operator character.
| Parameter | Description |
|---|---|
ch | Character to inspect. |
true for operator symbols (+, -, *, /, =, <, >, !, &, |, ^, ~, %, ?, :).
import klyn.code
assert CodeTokenizer.isOperatorChar('+')
assert not CodeTokenizer.isOperatorChar('(')