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