back to Overview

_.toString()

Converts the given object to a string.
Util module only.

Syntax

_.toString(obj)

Parameters

obj
the object to convert
(return value)
the resulting string

Description

Converts the given object to a string. null and undefined will be converted to an empty string.

Comments

comments powered by Disqus

back to Overview

Functions