source: node_modules/ramda-adjunct/lib/isNotDate.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: 779 bytes
Line 
1"use strict";
2
3exports.__esModule = true;
4exports["default"] = void 0;
5var _ramda = require("ramda");
6var _isDate = _interopRequireDefault(require("./isDate"));
7function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
8/**
9 * Checks if value is complement of `Date` object.
10 *
11 * @func isNotDate
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.isDate|isDate}
19 * @example
20 *
21 * RA.isNotDate(new Date()); //=> false
22 * RA.isNotDate('1997-07-16T19:20+01:00'); //=> true
23 */
24var isNotDate = (0, _ramda.complement)(_isDate["default"]);
25var _default = isNotDate;
26exports["default"] = _default;
Note: See TracBrowser for help on using the repository browser.