refactor(Cypress): Moved Cypress to the main folder of the project, as I don't need a sub project for now.
This commit is contained in:
31
node_modules/ramda/es/contains.js
generated
vendored
Normal file
31
node_modules/ramda/es/contains.js
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
import _includes from "./internal/_includes.js";
|
||||
import _curry2 from "./internal/_curry2.js";
|
||||
/**
|
||||
* Returns `true` if the specified value is equal, in [`R.equals`](#equals)
|
||||
* terms, to at least one element of the given list; `false` otherwise.
|
||||
* Works also with strings.
|
||||
*
|
||||
* @func
|
||||
* @memberOf R
|
||||
* @since v0.1.0
|
||||
* @category List
|
||||
* @sig a -> [a] -> Boolean
|
||||
* @param {Object} a The item to compare against.
|
||||
* @param {Array} list The array to consider.
|
||||
* @return {Boolean} `true` if an equivalent item is in the list, `false` otherwise.
|
||||
* @see R.includes
|
||||
* @deprecated since v0.26.0
|
||||
* @example
|
||||
*
|
||||
* R.contains(3, [1, 2, 3]); //=> true
|
||||
* R.contains(4, [1, 2, 3]); //=> false
|
||||
* R.contains({ name: 'Fred' }, [{ name: 'Fred' }]); //=> true
|
||||
* R.contains([42], [[42]]); //=> true
|
||||
* R.contains('ba', 'banana'); //=>true
|
||||
*/
|
||||
|
||||
var contains =
|
||||
/*#__PURE__*/
|
||||
_curry2(_includes);
|
||||
|
||||
export default contains;
|
Reference in New Issue
Block a user