to-null
Converts "nullsy" values to null
(undefined
, false
, NaN
), else returns the value
npm install --save to-null
var toNull = ; ; // null; // null; // "" not really null; // [1,2,3]
Converts "nullsy" values to null
(undefined
, false
, NaN
), else returns the value
npm install --save to-null
var toNull = ; ; // null; // null; // "" not really null; // [1,2,3]
npm i to-null
8
1.0.0
ISC