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.
28 lines (27 loc) • 942 B
JavaScript
exports.__esModule = true;
exports["default"] = void 0;
var _ramda = require("ramda");
var _isArrayLike = _interopRequireDefault(require("./isArrayLike.js"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
/**
* Tests whether or not an object is similar to an array.
*
* @func isNotArrayLike
* @memberOf RA
* @since {@link https://char0n.github.io/ramda-adjunct/0.5.0|v0.5.0}
* @category Type
* @sig * -> Boolean
* @param {*} val The value to test
* @return {boolean}
* @see {@link RA.isArrayLike|isArrayLike}
* @example
*
* RA.isNotArrayLike([]); //=> false
* RA.isNotArrayLike(true); //=> true
* RA.isNotArrayLike({}); //=> true
* RA.isNotArrayLike({length: 10}); //=> true
* RA.isNotArrayLike({0: 'zero', 9: 'nine', length: 10}); //=> false
*/
var isNotArrayLike = (0, _ramda.complement)(_isArrayLike["default"]);
var _default = exports["default"] = isNotArrayLike;
;