source: node_modules/ramda-adjunct/lib/isNotNumber.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 879 bytes
Line 
1"use strict";
2
3exports.__esModule = true;
4exports["default"] = void 0;
5var _ramda = require("ramda");
6var _isNumber = _interopRequireDefault(require("./isNumber"));
7function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
8/**
9 * Checks if value is a complement of `Number` primitive or object.
10 *
11 * @func isNotNumber
12 * @memberOf RA
13 * @since {@link https://char0n.github.io/ramda-adjunct/0.6.0|v0.6.0}
14 * @category Type
15 * @sig * -> Boolean
16 * @param {*} val The value to test
17 * @return {boolean}
18 * @see {@link RA.isNumber|isNumber}
19 * @example
20 *
21 * RA.isNotNumber(5); // => false
22 * RA.isNotNumber(Number.MAX_VALUE); // => false
23 * RA.isNotNumber(-Infinity); // => false
24 * RA.isNotNumber('5'); // => true
25 */
26var isNotNumber = (0, _ramda.complement)(_isNumber["default"]);
27var _default = isNotNumber;
28exports["default"] = _default;
Note: See TracBrowser for help on using the repository browser.