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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
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