Difference between revisions of "Bit32.btest"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 7: Line 7:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(boolean) = bit32.btest(numbers)
 
(boolean) = bit32.btest(numbers)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 14: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

Bitwise Operators