Example 1 — Official Samples
Every docs line in one list. One value in, Boolean back. Only null and undefined are true.
R.isNil(null); //=> true
R.isNil(undefined); //=> true
R.isNil(0); //=> false
R.isNil([]); //=> false How It Works
That is the docs sample from ramdajs.com. Missing values are true. A zero and an empty list are present leftovers, so they are false. Example 2 splits the same idea from empty leftovers.
