Click or drag to resize

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
Syntax
C#
public static bool IsPowerOfTwo(
	int value
)

Parameters

value
Type: SystemInt32
A value.

Return Value

Type: Boolean
true if value is powered by two; otherwise false.
See Also