isstring method

Keyword isstring (Node n)

Returns true if a value is a string, false otherwise.

Parameters: value - a value or variable being evaluated. Returns: true if value is a string, false otherwise. Example: isstring(#ff0); // false isstring("string"); // true

Implementation

Keyword isstring(Node n) => (n is Quoted) ? Keyword.True() : Keyword.False();