🔗 Function: asInteger()
asInteger(
fallback?):AttributeParser<number>
Defined in: src/lib/parsers.ts:37
Parse an attribute as as number forced to integer with a fallback
Supports hexadecimal and scientific notation
🔗 Parameters
🔗 fallback?
number = 0
fallback value
🔗 Returns
AttributeParser<number>
parser function
🔗 Since
0.11.0