klyn.code.CodeTokenizer.isOperatorChar
method
public static isOperatorChar(ch as Char) as Boolean
Description

Checks whether ch is a standard operator character.

Parameters
ParameterDescription
chCharacter to inspect.
Returns

true for operator symbols (+, -, *, /, =, <, >, !, &, |, ^, ~, %, ?, :).

Example
import klyn.code

assert CodeTokenizer.isOperatorChar('+')
assert not CodeTokenizer.isOperatorChar('(')