Skip to content

Bitmask to Boolean

ryannewington edited this page Jun 23, 2016 · 1 revision

Bitmask to Boolean

Summary

This transform tests for the presence of a flag within a bitmask and returns either "True" if the flag is set, or "False" if it is not

Parameters

Parameter Description
Value to check for in bitmask Specifies the particular flag that you want to test for the existence of

Input Type

The transform accepts a single integer value as an input

Multiple input values

The transform does not support multiple input values

Return Type

The transform returns a Boolean value

Usage

Input value Value to check Output value
0 2 False
2 2 True
512 2 False
514 2 True