isStaticValue
[ Function ]
export function isStaticValue(value: Action): value is StaticValue;
Checks whether the transferred parameter is of type StaticValue.
Parameter
Name | Type | Description |
---|---|---|
value | Variable to be tested. |
Return value
Type | Description |
---|---|
Returns true if the transferred value matches the corresponding type. Returns false if the transferred value does not match the corresponding type. |
Available from version 1.12 |