UNPKG

ramda-extension

Version:

Helpful functions built on top of the mighty Ramda

21 lines (20 loc) 555 B
import { complement } from 'ramda'; import equalsToEmptyObject from './equalsToEmptyObject'; /** * Returns true if value is not equal to empty object. * * @func * @category Relation * @param {any} value * @returns {Boolean} Returns `true` if `value` is not an empty object. * * @sig a -> Boolean * * @example * * R_.notEqualToEmptyObject({}); // false * R_.notEqualToEmptyObject({ ramda: true }); // true * */ var notEqualToEmptyObject = /*#__PURE__*/complement(equalsToEmptyObject); export default notEqualToEmptyObject;