Click or drag to resize

MathHelperIsInRange Method (Int32, Int32, Int32)

Returns whether a number is between two other numbers.

Respects from being larger than to.

Namespace:  Kit
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public static bool IsInRange(
	int number,
	int from,
	int to
)
Request Example View Source

Parameters

number
Type: SystemInt32
from
Type: SystemInt32
to
Type: SystemInt32

Return Value

Type: Boolean
See Also