source: node_modules/ramda-adjunct/src/isNotArray.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: 551 bytes
RevLine 
[d24f17c]1import { complement } from 'ramda';
2
3import isArray from './isArray';
4
5/**
6 * Checks if input value is complement of `Array`
7 *
8 * @func isNotArray
9 * @memberOf RA
10 * @since {@link https://char0n.github.io/ramda-adjunct/0.3.0|v0.3.0}
11 * @category Type
12 * @sig * -> Boolean
13 * @param {*} val The value to test
14 * @return {boolean}
15 * @see {@link RA.isArray|isArray}
16 * @example
17 *
18 * RA.isNotArray([]); //=> false
19 * RA.isNotArray(null); //=> true
20 * RA.isNotArray({}); //=> true
21 */
22const isNotArray = complement(isArray);
23
24export default isNotArray;
Note: See TracBrowser for help on using the repository browser.