Feature Overview
TONORM()
normalize argument values (strings) to the correct type.
- Mainly converts from strings to values of the correct type.
- Especially used to initialize multiple values from a long string, see HTBL().
- Hexadecimal numbers are converted to decimal numbers.
- This function consumes 28 Token.
?tonorm('true') -- true (The type is 'boolean') ?tonorm('nil') -- [nil] (The type is 'nil') |
This function was included in the KNUTIL library, but has been deprecated since v0.14.0.
If you want to check the type at once, consider using a DMP().
release note
[Please log in to post a comment]