Skip to content

CodeMirrorModule.isWordChar method

CodeMirrorModule › isWordChar

Unofficial

Checks whether a character is a word character.

Signature:

isWordChar(ch: string): boolean

Parameters:

Parameter Type Description
ch string The character to check.

Returns: booleantrue if the character is a word character.