source: node_modules/ramda-adjunct/lib/isNotObj.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: 1011 bytes
Line 
1"use strict";
2
3exports.__esModule = true;
4exports["default"] = void 0;
5var _ramda = require("ramda");
6var _isObj = _interopRequireDefault(require("./isObj"));
7function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
8/* eslint-disable max-len */
9/**
10 * Checks if input value is complement of language type of `Object`.
11 *
12 * @func isNotObj
13 * @aliases isNotObject
14 * @memberOf RA
15 * @since {@link https://char0n.github.io/ramda-adjunct/0.5.0|v0.5.0}
16 * @category Type
17 * @sig * -> Boolean
18 * @param {*} val The value to test
19 * @return {boolean}
20 * @see {@link RA.isObj|isObj}, {@link RA.isObjLike|isObjLike}, {@link RA.isPlainObj|isPlainObj}
21 * @example
22 *
23 * RA.isNotObj({}); //=> false
24 * RA.isNotObj([]); //=> false
25 * RA.isNotObj(() => {}); //=> false
26 * RA.isNotObj(null); //=> true
27 * RA.isNotObj(undefined); //=> true
28 */
29/* eslint-enable max-len */
30var isNotObj = (0, _ramda.complement)(_isObj["default"]);
31var _default = isNotObj;
32exports["default"] = _default;
Note: See TracBrowser for help on using the repository browser.