Cleanup _.isNil doc examples and tests.

This commit is contained in:
John-David Dalton
2015-08-20 08:03:11 -07:00
parent 7aef780b14
commit f9f7af2430
2 changed files with 23 additions and 32 deletions

View File

@@ -8286,17 +8286,11 @@
* _.isNil(null);
* // => true
*
* _.isNil();
* // => true
*
* _.isNil(undefined);
* _.isNil(void 0);
* // => true
*
* _.isNil(NaN);
* // => false
*
* _.isNil(void 0);
* // => false
*/
function isNil(value) {
return value == null;