UNPKG

ramda-extension

Version:

Helpful functions built on top of the mighty Ramda

30 lines (26 loc) 618 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _ramda = require("ramda"); var _primitives = require("./internal/primitives"); /** * Testing if argument equals to '' * * @func * @category Relation * * @param {any} value * @return {boolean} True if `value` is empty string * * @example * * R_.equalsToEmptyString('') // true * R_.equalsToEmptyString('hi') // false * * @sig a -> Boolean */ var equalsToEmptyString = (0, _ramda.equals)(_primitives.emptyString); var _default = equalsToEmptyString; exports.default = _default;