ramda-extension
Version:
Helpful functions built on top of the mighty Ramda
21 lines (20 loc) • 547 B
JavaScript
import { complement } from 'ramda';
import equalsToEmptyString from './equalsToEmptyString';
/**
* Returns true if value is not equal to empty string.
*
* @func
* @category Relation
* @param {any} value
* @returns {Boolean} Returns `true` if `value` is not an empty string.
*
* @sig a -> Boolean
*
* @example
*
* R_.notEqualToEmptyString(""); // false
* R_.notEqualToEmptyString("Ramda"); // true
*
*/
var notEqualToEmptyString = /*#__PURE__*/complement(equalsToEmptyString);
export default notEqualToEmptyString;