_.toString(value)
Converts value to a string. An empty string is returned for null and undefined values. The sign of -0 is preserved.
Since
4.0.0
Arguments
-
value(*): The value to convert.
Returns
(string): Returns the converted string.
Example
_.toString(null); // => '' _.toString(-0); // => '-0' _.toString([1, 2, 3]); // => '1,2,3'
Please login to continue.