is_value
Syntax Format
is_value(value)
Overview
The is_value
function determines whether the value type is numeric
or the value is nil. The true value is returned in case the given value is numeric
, otherwise – false. This function can be used in scripts with multiple data types.
Parameters
Parameter | Purpose |
---|---|
value | Input value |
Returns: boolean
.
Example
print("given_value is not numeric")