Difference between revisions of "Bit32.btest"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2022.3<br/> '''Class:''' bit32<br/> === Description === Returns a boolean signalling whether the bitwise ''and'' of its operands...") |
m (Text replacement - "<source" to "<syntaxhighlight") |
||
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
Returns a boolean signalling whether the bitwise ''and'' of its operands is different from zero. | Returns a boolean signalling whether the bitwise ''and'' of its operands is different from zero. | ||
− | < | + | <syntaxhighlight lang="lua"> |
(boolean) = bit32.btest(numbers) | (boolean) = bit32.btest(numbers) | ||
</source> | </source> |
Revision as of 14:26, 13 July 2023
Available since: Gideros 2022.3
Class: bit32
Description
Returns a boolean signalling whether the bitwise and of its operands is different from zero. <syntaxhighlight lang="lua"> (boolean) = bit32.btest(numbers) </source>
Parameters
numbers: (number) multiple values (tuple)
Return values
Returns (boolean) result
See also