MathHelperIsPowerOfTwo Method |
Determines if value is powered by two.
Namespace:
SampSharp.Entities.SAMP
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntaxpublic static bool IsPowerOfTwo(
int value
)
Parameters
- value
- Type: SystemInt32
A value.
Return Value
Type:
Booleantrue if
value is powered by two; otherwise
false.
See Also