UNPKG

ramda-extension

Version:

Helpful functions built on top of the mighty Ramda

34 lines (30 loc) 719 B
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _isNotNil = _interopRequireDefault(require("./isNotNil")); /** * Alias for `isNotNil` * * @deprecated * @func * @category Logic * @see isNotNil * * @example * * R_.notNil(null) // false * R_.notNil(undefined) // false * R_.notNil('') // true * R_.notNil(false) // true * R_.notNil(0) // true * R_.notNil([]) // true * R_.notNil({}) // true * * @sig a -> Boolean */ var notNil = _isNotNil.default; var _default = notNil; exports.default = _default;