Database & utility
Scalar
get_bit()
Extracts the nth bit from bitstring; the first (leftmost) bit is indexed 0
Arguments & returns
get_bit(bitstring, index)
Scalar
| Overload link | bitstring | index |
Returns |
|---|---|---|---|
| #01 | BIT | INTEGER |
INTEGER |
Example
Haybarn WASM 1.5.5-rc3 · In your browser
Engine example · Run to view results.