Loading

mapper.toboolean

mapper

This mapper function converts the single value in a sliding window to BOOLEAN.

The mapper.toboolean function can be applied to data of type BOOLEAN, STRING, LONG or DOUBLE.

mapper.toboolean is available since version 1.0.11.

See also

Signatures

Examples

[ [ NEWGTS "GTS.1" RENAME 10 NaN NaN NaN 'true' ADDVALUE 20 NaN NaN NaN '' ADDVALUE NEWGTS "GTS.2" RENAME 10 NaN NaN NaN 0 ADDVALUE 20 NaN NaN NaN 42 ADDVALUE ] mapper.toboolean 0 0 0 ] MAP