ramda-extension
Version:
Helpful functions built on top of the mighty Ramda
18 lines (17 loc) • 330 B
JavaScript
import { gt } from 'ramda';
/**
* Returns true if argument is lower than 0.
*
* @func
* @category Math
*
* @example
*
* R_.isNegative(3) // false
* R_.isNegative(0) // false
* R_.isNegative(-3) // true
*
* @sig Number -> Boolean
*/
var isNegative = /*#__PURE__*/gt(0);
export default isNegative;