parseBoolean
Parse a string into a boolean in a page expression.
Page editor expression. Part of the page editor expression reference.
Parses a string into a boolean. The comparison is case-insensitive.
parseBoolean(value: string): boolean;
Parameters
value— the string to parse.
Return value
true if the value equals "true" (in any case); false otherwise.