Tries to cast a string to a primitive value if it looks like one.
The value to try to cast. Will only work on strings.
Value as a number if it appears to be a number, or value as a boolean if it appears to be 'true' or 'false', or just value back as a string.
Generated using TypeDoc
Tries to cast a string to a primitive value if it looks like one.