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:
869 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 |
|
---|
3 | exports.__esModule = true;
|
---|
4 | exports["default"] = void 0;
|
---|
5 | var _ramda = require("ramda");
|
---|
6 | var _isMap = _interopRequireDefault(require("./isMap"));
|
---|
7 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
---|
8 | /**
|
---|
9 | * Checks if value is complement of `Map` object.
|
---|
10 | *
|
---|
11 | * @func isNotMap
|
---|
12 | * @memberOf RA
|
---|
13 | * @category Type
|
---|
14 | * @since {@link https://char0n.github.io/ramda-adjunct/2.27.0|v2.27.0}
|
---|
15 | * @sig * -> Boolean
|
---|
16 | * @param {*} val The value to test
|
---|
17 | * @return {boolean}
|
---|
18 | * @see {@link RA.isMap|isMap}
|
---|
19 | * @example
|
---|
20 | *
|
---|
21 | * RA.isNotMap(new Map()); //=> false
|
---|
22 | * RA.isNotMap(new Map([[1, 2], [2, 1]])); //=> false
|
---|
23 | * RA.isNotMap(new Set()); //=> true
|
---|
24 | * RA.isNotMap({}); //=> true
|
---|
25 | * RA.isNotMap(12); //=> true
|
---|
26 | */
|
---|
27 |
|
---|
28 | var isNotMap = (0, _ramda.complement)(_isMap["default"]);
|
---|
29 | var _default = isNotMap;
|
---|
30 | exports["default"] = _default; |
---|
Note:
See
TracBrowser
for help on using the repository browser.