Parsing

tryparseboolean

Attempt a boolean parse into existing slots.

Syntax

tryparseboolean(<source>, <boolValue>, <boolSuccess>);

How she behaves

  • Two booleans: the parsed value, and whether parsing worked.

Example

tryparseboolean("true", parsedBoolean, booleanParsed);

See also