parseWhiteSpace
tw5-typed / modules/utils/parseutils / parseWhiteSpace
Function: parseWhiteSpace()
parseWhiteSpace(
source,pos):object
Defined in: src/modules/utils/parseutils.d.ts:21
Look for a whitespace token. Returns null if not found, otherwise returns an object.
Parameters
source
string
pos
number
Returns
object
end
end:
number
start
start:
number
type
type:
"whitespace"