toString
Converts a value to a string.
Thin wrapper over String(value) — kept as a stable surface against
future global-constructor changes.
Usage
toString(value: unknown)
Converts a value to a string.
Thin wrapper over String(value) — kept as a stable surface against
future global-constructor changes.
Parameters
valueunknownrequired
the value to convert.
Returns
the input value converted using JavaScript string coercion.