Bit32.btest: Difference between revisions
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>" |
||
| (One intermediate revision by the same user not shown) | |||
| 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) | ||
</ | </syntaxhighlight> | ||
=== Parameters === | === Parameters === | ||
Latest revision as of 13:27, 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.
(boolean) = bit32.btest(numbers)
Parameters
numbers: (number) multiple values (tuple)
Return values
Returns (boolean) result
See also