Difference between revisions of "Bit32.band"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2022.3<br/> '''Class:''' bit32<br/> === Description === Returns the bitwise ''and'' of its operands. <source lang="lua"> (number)...")
 
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Returns the bitwise ''and'' of its operands.
 
Returns the bitwise ''and'' of its operands.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = bit32.band(numbers)
 
(number) = bit32.band(numbers)
 
</source>
 
</source>

Revision as of 15:26, 13 July 2023

Available since: Gideros 2022.3
Class: bit32

Description

Returns the bitwise and of its operands. <syntaxhighlight lang="lua"> (number) = bit32.band(numbers) </source>

Parameters

numbers: (number) multiple values

Return values

Returns (number) result

See also

Bitwise Operators