Function
Other
std.Validate
Performs basic type-checking on [value]
On this page
std.Validate()Description
e.g. foo = 7; std.Validate(foo, 'foo', T_NUMBER, false)
Returns
nil;nil; raises error when invalidSource
Declared in the game's script sources at:
scar/standard.scar