This project has moved. For the latest updates, please go here.

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

Last edited Feb 21, 2015 at 11:37 PM by ryannewington, version 3