source: node_modules/ramda-adjunct/es/isNotArrayLike.js@ d24f17c

main
Last change on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 713 bytes
Line 
1import { complement } from 'ramda';
2import isArrayLike from './isArrayLike';
3
4/**
5 * Tests whether or not an object is similar to an array.
6 *
7 * @func isNotArrayLike
8 * @memberOf RA
9 * @since {@link https://char0n.github.io/ramda-adjunct/0.5.0|v0.5.0}
10 * @category Type
11 * @sig * -> Boolean
12 * @param {*} val The value to test
13 * @return {boolean}
14 * @see {@link RA.isArrayLike|isArrayLike}
15 * @example
16 *
17 * RA.isNotArrayLike([]); //=> false
18 * RA.isNotArrayLike(true); //=> true
19 * RA.isNotArrayLike({}); //=> true
20 * RA.isNotArrayLike({length: 10}); //=> true
21 * RA.isNotArrayLike({0: 'zero', 9: 'nine', length: 10}); //=> false
22 */
23var isNotArrayLike = complement(isArrayLike);
24export default isNotArrayLike;
Note: See TracBrowser for help on using the repository browser.