just-to-string
npm i just-to-string
const toString = require('just-to-string')
It's just toString
, but without any chance of throwing
toString(null) // => '[object Null]'
toString(Object.create(null)) // => '[object Object]'
npm i just-to-string
const toString = require('just-to-string')
It's just toString
, but without any chance of throwing
toString(null) // => '[object Null]'
toString(Object.create(null)) // => '[object Object]'
npm i just-to-string
0
1.0.0
WTFPL
1.62 kB
4