ramda-adjunct
Version:
Ramda Adjunct is the most popular and most comprehensive set of utilities for use with Ramda, providing a variety of useful, well tested functions with excellent documentation.
32 lines (27 loc) • 800 B
JavaScript
exports.__esModule = true;
exports["default"] = void 0;
var _ramda = require("ramda");
var _isMap = _interopRequireDefault(require("./isMap"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
/**
* Checks if value is complement of `Map` object.
*
* @func isNotMap
* @memberOf RA
* @category Type
* @sig * -> Boolean
* @param {*} val The value to test
* @return {boolean}
* @see {@link RA.isMap|isMap}
* @example
*
* RA.isNotMap(new Map()); //=> false
* RA.isNotMap(new Map([[1, 2], [2, 1]])); //=> false
* RA.isNotMap(new Set()); //=> true
* RA.isNotMap({}); //=> true
* RA.isNotMap(12); //=> true
*/
var isNotMap = (0, _ramda.complement)(_isMap["default"]);
var _default = isNotMap;
exports["default"] = _default;
;