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:
904 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | "use strict";
|
---|
| 2 |
|
---|
| 3 | exports.__esModule = true;
|
---|
| 4 | exports["default"] = void 0;
|
---|
| 5 | var _ramda = require("ramda");
|
---|
| 6 | /**
|
---|
| 7 | * Returns `true` if its arguments are not equivalent, `false` otherwise. Handles
|
---|
| 8 | * cyclical data structures.
|
---|
| 9 | *
|
---|
| 10 | * Dispatches symmetrically to the `equals` methods of both arguments, if
|
---|
| 11 | * present.
|
---|
| 12 | *
|
---|
| 13 | * @func notEqual
|
---|
| 14 | * @memberOf RA
|
---|
| 15 | * @since {@link https://char0n.github.io/ramda-adjunct/2.29.0|v2.29.0}
|
---|
| 16 | * @category Relation
|
---|
| 17 | * @sig a -> b -> Boolean
|
---|
| 18 | * @param {*} a
|
---|
| 19 | * @param {*} b
|
---|
| 20 | * @return {Boolean}
|
---|
| 21 | * @see {@link https://ramdajs.com/docs/#equals|equals}
|
---|
| 22 | * @example
|
---|
| 23 | *
|
---|
| 24 | * RA.notEqual(1, 1); //=> false
|
---|
| 25 | * RA.notEqual(1, '1'); //=> true
|
---|
| 26 | * RA.notEqual([1, 2, 3], [1, 2, 3]); //=> false
|
---|
| 27 | *
|
---|
| 28 | * const a = {}; a.v = a;
|
---|
| 29 | * const b = {}; b.v = b;
|
---|
| 30 | * RA.notEqual(a, b); //=> false
|
---|
| 31 | */
|
---|
| 32 | var notEqual = (0, _ramda.complement)(_ramda.equals);
|
---|
| 33 | var _default = notEqual;
|
---|
| 34 | exports["default"] = _default; |
---|
Note:
See
TracBrowser
for help on using the repository browser.