function isNil(value) {
    return value === undefined || value === null;
  }
Checks if `value` is `null` or `undefined`

@ignore
@function isNil
@param {*} value The object to check
@return {boolean} Returns `true` is `value` is `undefined` or `null`, `false` otherwise