- Documentation
- Shared functions
- isMatrix
Function
isMatrix
Checks whether a value is a matrix (a Matrix object).
Syntax
bool isMatrix(mixed value)Arguments
valuemixed- The value.
Returns
true for a matrix.
Example
local m = getElementMatrix(getRandomPlayer())
print(isMatrix(m))