BitItem

HC Data Structure Primitives Selectors BitItem
mdItem firsts

BitItem index athing


outputs either true or false, depending on the value of the "index"th bit of athing.

Examples:

show BitItem 0 5	;true
show BitItem 1 5	;false
show BitItem 2 5	;true
show BitItem 3 5	;false
show BitItem 7 int8 -1	;true
show BitItem 0 int8 -1	;true

Reference:

mdItem firsts