viva.types.number

Undocumented in source.

Members

Functions

clamp
T clamp(T value, T min, T max)

Clamps a value to minimum and maximum value

clampRef
void clampRef(T value, T min, T max)

Clamps a reference to a value to minimum and maximum value

inRange
bool inRange(T value, T min, T max)
inRange
bool inRange(T value, T min, T max)
isValueNumber
bool isValueNumber(T value)

Checks whether or not the given value is a number

Templates

isNumber
template isNumber(T)

Checks whether or not the given type is a number type

Meta