MCPcopy
hub / github.com/Kong/insomnia / find

Function find

packages/insomnia/bin/yarn-standalone.js:74826–74831  ·  view source on GitHub ↗

PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END

(predicate, thisArg)

Source from the content-addressed store, hash-verified

74824
74825
74826function find(predicate, thisArg) {
74827 if (typeof predicate !== 'function') {
74828 throw new TypeError('predicate is not a function');
74829 }
74830 return function (source) { return source.lift(new FindValueOperator(predicate, source, false, thisArg)); };
74831}
74832var FindValueOperator = /*@__PURE__*/ (function () {
74833 function FindValueOperator(predicate, source, yieldIndex, thisArg) {
74834 this.predicate = predicate;

Callers 1

binarySearchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected