Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bendytree/explainjs
/ functions
Functions
143 in github.com/bendytree/explainjs
⨍
Functions
143
◇
Types & classes
0
↓ 12 callers
Function
forEach
* Iterates over a `collection`, executing the `callback` for each element in * the `collection`. The `callback` is bound to `thisArg` and invoked
samples/lodash.js:2316
↓ 12 callers
Function
forOwn
(collection, callback, thisArg)
samples/lodash.js:1064
↓ 11 callers
Function
isArray
* Checks if `value` is an array. * * @static * @memberOf _ * @category Objects * @param {Mixed} value The value to check.
samples/lodash.js:1167
↓ 10 callers
Function
assert
* Support testing using an element * @param {Function} fn Passed the created div and expects a boolean result
samples/sizzle.js:215
↓ 10 callers
Function
markFunction
* Mark a function for special use by Sizzle * @param {Function} fn The function to mark
samples/sizzle.js:206
↓ 7 callers
Function
createPositionalPseudo
( fn )
samples/sizzle.js:843
↓ 7 callers
Function
isFunction
* Checks if `value` is a function. * * @static * @memberOf _ * @category Objects * @param {Mixed} value The value to check.
samples/lodash.js:1501
↓ 6 callers
Function
forIn
(collection, callback, thisArg)
samples/lodash.js:1031
↓ 6 callers
Function
indexOf
* Gets the index at which the first occurrence of `value` is found using * strict equality for comparisons, i.e. `===`. If the `array` is already
samples/lodash.js:3265
↓ 6 callers
Function
slice
* Slices the `collection` from the `start` index up to, but not including, * the `end` index. * * Note: This function is used, instead
samples/lodash.js:573
↓ 5 callers
Function
contains
* Checks if a given `target` element is present in a `collection` using strict * equality for comparisons, i.e. `===`. If `fromIndex` is negative
samples/lodash.js:2035
↓ 5 callers
Function
isObject
* Checks if `value` is the language type of Object. * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) *
samples/lodash.js:1525
↓ 4 callers
Function
Sizzle
( selector, context, results, seed )
samples/sizzle.js:232
↓ 4 callers
Function
condense
( unmatched, map, filter, context, xml )
samples/sizzle.js:1511
↓ 4 callers
Function
createBound
* Creates a function that, when called, invokes `func` with the `this` binding * of `thisArg` and prepends any `partialArgs` to the arguments pas
samples/lodash.js:437
↓ 4 callers
Function
isString
* Checks if `value` is a string. * * @static * @memberOf _ * @category Objects * @param {Mixed} value The value to check.
samples/lodash.js:1667
↓ 4 callers
Function
toSelector
( tokens )
samples/sizzle.js:1437
↓ 4 callers
Function
tokenize
( selector, parseOnly )
samples/sizzle.js:1370
↓ 3 callers
Function
addCombinator
( matcher, combinator, base )
samples/sizzle.js:1447
↓ 3 callers
Function
createCache
* Create key-value caches of limited size * @returns {Function(string, Object)} Returns the Object data after storing it on itself with * property n
samples/sizzle.js:188
↓ 3 callers
Function
elementMatcher
( matchers )
samples/sizzle.js:1497
↓ 3 callers
Function
isNative
* For feature detection * @param {Function} fn The function to test for native support
samples/sizzle.js:178
↓ 3 callers
Function
pluck
* Retrieves the value of a specified property from all elements in the `collection`. * * @static * @memberOf _ * @type Function
samples/lodash.js:2629
↓ 2 callers
Function
bind
* Creates a function that, when called, invokes `func` with the `this` * binding of `thisArg` and prepends any additional `bind` arguments to tho
samples/lodash.js:3984
↓ 2 callers
Function
cachedContains
* Creates a function optimized to search large arrays for a given `value`, * starting at `fromIndex`, using strict equality for comparisons, i.e.
samples/lodash.js:361
↓ 2 callers
Function
defaults
(object, source, guard)
samples/lodash.js:940
↓ 2 callers
Function
filter
* Examines each element in a `collection`, returning an array of all elements * the `callback` returns truthy for. The `callback` is bound to `th
samples/lodash.js:2202
↓ 2 callers
Function
functions
* Creates a sorted array of all enumerable properties, own and inherited, * of `object` that have function values. * * @static * @
samples/lodash.js:1096
↓ 2 callers
Function
isPlainObject
(value)
samples/lodash.js:1625
↓ 2 callers
Function
max
* Retrieves the maximum value of an `array`. If `callback` is passed, * it will be executed for each value in the `array` to generate the *
samples/lodash.js:2510
↓ 2 callers
Function
siblingCheck
* Checks document order of two siblings * @param {Element} a * @param {Element} b * @returns Returns -1 if a precedes b, 1 if a follows b
samples/sizzle.js:786
↓ 2 callers
Function
values
* Creates an array composed of the own enumerable property values of `object`. * * @static * @memberOf _ * @category Objects
samples/lodash.js:1961
↓ 1 callers
Function
assign
(object, source, guard)
samples/lodash.js:714
↓ 1 callers
Function
clone
* Creates a clone of `value`. If `deep` is `true`, nested objects will also * be cloned, otherwise they will be assigned by reference. If a `call
samples/lodash.js:791
↓ 1 callers
Function
createButtonPseudo
( type )
samples/sizzle.js:835
↓ 1 callers
Function
createInputPseudo
( type )
samples/sizzle.js:827
↓ 1 callers
Function
difference
* Creates an array of `array` elements not present in the other arrays * using strict equality for comparisons, i.e. `===`. * * @static
samples/lodash.js:3044
↓ 1 callers
Function
escapeHtml
(html)
index.js:72
↓ 1 callers
Function
find
* Examines each element in a `collection`, returning the first that the `callback` * returns truthy for. The `callback` is bound to `thisArg` and
samples/lodash.js:2269
↓ 1 callers
Function
invert
* Creates an object composed of the inverted keys and values of the given `object`. * * @static * @memberOf _ * @category Objects
samples/lodash.js:1138
↓ 1 callers
Function
isEqual
* Performs a deep comparison between two values to determine if they are * equivalent to each other. If `callback` is passed, it will be executed
samples/lodash.js:1303
↓ 1 callers
Function
isNumber
* Checks if `value` is a number. * * @static * @memberOf _ * @category Objects * @param {Mixed} value The value to check.
samples/lodash.js:1597
↓ 1 callers
Function
map
* Creates an array of values by running each element in the `collection` * through the `callback`. The `callback` is bound to `thisArg` and invok
samples/lodash.js:2452
↓ 1 callers
Function
matcherFromGroupMatchers
( elementMatchers, setMatchers )
samples/sizzle.js:1677
↓ 1 callers
Function
matcherFromTokens
( tokens )
samples/sizzle.js:1625
↓ 1 callers
Function
mixin
* Adds functions properties of `object` to the `lodash` function and chainable * wrapper. * * @static * @memberOf _ * @catego
samples/lodash.js:4564
↓ 1 callers
Function
multipleContexts
( selector, contexts, results )
samples/sizzle.js:1805
↓ 1 callers
Function
result
* Resolves the value of `property` on `object`. If `property` is a function, * it will be invoked with the `this` binding of `object` and its res
samples/lodash.js:4676
↓ 1 callers
Function
runInContext
* Create a new `lodash` function using the given `context` object. * * @static * @memberOf _ * @category Utilities * @param {Object} [c
samples/lodash.js:132
↓ 1 callers
Function
select
( selector, context, results, seed )
samples/sizzle.js:1814
↓ 1 callers
Function
setMatcher
( preFilter, selector, matcher, postFilter, postFinder, postSelector )
samples/sizzle.js:1532
↓ 1 callers
Function
shimIsPlainObject
* A fallback implementation of `isPlainObject` which checks if a given `value` * is an object created by the `Object` constructor, assuming objec
samples/lodash.js:539
↓ 1 callers
Function
sortedIndex
* Uses a binary search to determine the smallest index at which the `value` * should be inserted into `array` in order to maintain the sort order
samples/lodash.js:3690
↓ 1 callers
Function
uniq
* Creates a duplicate-value-free version of the `array` using strict equality * for comparisons, i.e. `===`. If the `array` is already sorted, pa
samples/lodash.js:3772
Function
after
* If `n` is greater than `0`, a function is created that is restricted to * executing `func`, with the `this` binding and arguments of the create
samples/lodash.js:3951
Function
at
* Creates an array of elements from the specified indexes, or keys, of the * `collection`. Indexes may be specified as individual arguments or as
samples/lodash.js:1996
Function
bindAll
* Binds methods on `object` to `object`, overwriting the existing method. * Method names may be specified as individual arguments or as arrays of
samples/lodash.js:4015
Function
bindKey
* Creates a function that, when called, invokes the method at `object[key]` * and prepends any additional `bindKey` arguments to those passed to
samples/lodash.js:4061
Function
boolHandler
( elem, name, isXML )
samples/sizzle.js:808
Function
bound
()
samples/lodash.js:454
Function
charAtCallback
* Used by `_.max` and `_.min` as the default `callback` when a given * `collection` is a string value. * * @private * @param {Stri
samples/lodash.js:391
Function
cloneDeep
* Creates a deep clone of `value`. If a `callback` function is passed, * it will be executed to produce the cloned values. If `callback` returns
samples/lodash.js:916
Function
compact
* Creates an array with all falsey values of `array` removed. The values * `false`, `null`, `0`, `""`, `undefined` and `NaN` are all falsey.
samples/lodash.js:3014
Function
compareAscending
* Used by `sortBy` to compare transformed `collection` values, stable sorting * them in ascending order. * * @private * @param {Ob
samples/lodash.js:404
Function
compose
* Creates a function that is the composition of the passed functions, * where each function consumes the return value of the function that follow
samples/lodash.js:4084
Function
countBy
* Creates an object composed of keys returned from running each element of the * `collection` through the given `callback`. The corresponding val
samples/lodash.js:2089
Function
createCallback
* Produces a callback bound to an optional `thisArg`. If `func` is a property * name, the created callback will return the property value for a g
samples/lodash.js:4143
Function
debounce
* Creates a function that will delay the execution of `func` until after * `wait` milliseconds have elapsed since the last time it was invoked. P
samples/lodash.js:4210
Function
defer
* Defers executing the `func` function until the current call stack has cleared. * Additional arguments will be passed to `func` when it is invok
samples/lodash.js:4260
Function
delay
* Executes the `func` function after `wait` milliseconds. Additional arguments * will be passed to `func` when it is invoked. * * @stat
samples/lodash.js:4286
Function
delayed
()
samples/lodash.js:4217
Function
escape
* Converts the characters `&`, `<`, `>`, `"`, and `'` in `string` to their * corresponding HTML entities. * * @static * @memberOf
samples/lodash.js:4520
Function
escapeHtmlChar
* Used by `escape` to convert characters to HTML entities. * * @private * @param {String} match The matched character to escape. *
samples/lodash.js:503
Function
escapeStringChar
* Used by `template` to escape characters for inclusion in compiled * string literals. * * @private * @param {String} match The ma
samples/lodash.js:492
Function
every
* Checks if the `callback` returns a truthy value for **all** elements of a * `collection`. The `callback` is bound to `thisArg` and invoked with
samples/lodash.js:2141
Function
findIndex
* This method is similar to `_.find`, except that it returns the index of * the element that passes the callback check, instead of the element it
samples/lodash.js:3080
Function
findKey
* This method is similar to `_.find`, except that it returns the key of the * element that passes the callback check, instead of the element itse
samples/lodash.js:990
Function
first
* Gets the first element of the `array`. If a number `n` is passed, the first * `n` elements of the `array` are returned. If a `callback` functio
samples/lodash.js:3150
Function
flatten
* Flattens a nested array (the nesting can be to any depth). If `isShallow` * is truthy, `array` will only be flattened a single level. If `callb
samples/lodash.js:3212
Function
funescape
( _, escaped )
samples/sizzle.js:133
Function
groupBy
* Creates an object composed of keys returned from running each element of the * `collection` through the `callback`. The corresponding value of
samples/lodash.js:2367
Function
has
* Checks if the specified object `property` exists and is a direct property, * instead of an inherited property. * * @static * @me
samples/lodash.js:1121
Function
identity
* This function returns the first argument passed to it. * * @static * @memberOf _ * @category Utilities * @param {Mixed} val
samples/lodash.js:4538
Function
initial
* Gets all but the last element of `array`. If a number `n` is passed, the * last `n` elements are excluded from the result. If a `callback` func
samples/lodash.js:3339
Function
interpolationHandler
( elem, name, isXML )
samples/sizzle.js:819
Function
intersection
* Computes the intersection of all the passed-in arrays using strict equality * for comparisons, i.e. `===`. * * @static * @member
samples/lodash.js:3373
Function
invoke
* Invokes the method named by `methodName` on each element in the `collection`, * returning an array of the results of each invoked method. Addit
samples/lodash.js:2400
Function
isArguments
* Checks if `value` is an `arguments` object. * * @static * @memberOf _ * @category Objects * @param {Mixed} value The value
samples/lodash.js:617
Function
isBoolean
* Checks if `value` is a boolean value. * * @static * @memberOf _ * @category Objects * @param {Mixed} value The value to che
samples/lodash.js:1186
Function
isDate
* Checks if `value` is a date. * * @static * @memberOf _ * @category Objects * @param {Mixed} value The value to check.
samples/lodash.js:1203
Function
isElement
* Checks if `value` is a DOM element. * * @static * @memberOf _ * @category Objects * @param {Mixed} value The value to check
samples/lodash.js:1220
Function
isEmpty
* Checks if `value` is empty. Arrays, strings, or `arguments` objects with a * length of `0` and objects with no own enumerable properties are co
samples/lodash.js:1245
Function
isFinite
* Checks if `value` is, or can be coerced to, a finite number. * * Note: This is not the same as native `isFinite`, which will return true f
samples/lodash.js:1484
Function
isNaN
* Checks if `value` is `NaN`. * * Note: This is not the same as native `isNaN`, which will return `true` for * `undefined` and other va
samples/lodash.js:1558
Function
isNull
* Checks if `value` is `null`. * * @static * @memberOf _ * @category Objects * @param {Mixed} value The value to check.
samples/lodash.js:1580
Function
isRegExp
* Checks if `value` is a regular expression. * * @static * @memberOf _ * @category Objects * @param {Mixed} value The value t
samples/lodash.js:1650
Function
isUndefined
* Checks if `value` is `undefined`. * * @static * @memberOf _ * @category Objects * @param {Mixed} value The value to check.
samples/lodash.js:1684
Function
last
* Gets the last element of the `array`. If a number `n` is passed, the * last `n` elements of the `array` are returned. If a `callback` function
samples/lodash.js:3465
Function
lastIndexOf
* Gets the index at which the last occurrence of `value` is found using strict * equality for comparisons, i.e. `===`. If `fromIndex` is negative
samples/lodash.js:3506
Function
lodash
* Creates a `lodash` object, which wraps the given `value`, to enable method * chaining. * * In addition to Lo-Dash methods, wrappers a
samples/lodash.js:265
next →
1–100 of 143, ranked by callers