ramda-extension
Version:
Helpful functions built on top of the mighty Ramda
21 lines (20 loc) • 411 B
JavaScript
import { equals } from 'ramda';
/**
* Returns true if argument equals to 0.
*
* @func
* @category Relation
*
* @param {any} value
* @return {boolean} True if `value` is 0
*
* @example
*
* R_.equalsToZero(3) // false
* R_.equalsToZero(0) // true
* R_.equalsToZero(-3) // false
*
* @sig a -> Boolean
*/
var equalsToZero = /*#__PURE__*/equals(0);
export default equalsToZero;