1. tryParseValue(value)
Converts string values to their appropriate types.
1tryParseValue("true"); // → true2tryParseValue("false"); // → false3tryParseValue("123.5"); // → 123.54tryParseValue("hello"); // → "hello"
- Booleans (
true/false) - Numbers (
parseFloat) if numeric - Strings otherwise