MCPcopy Index your code
hub / github.com/easydiffusion/easydiffusion / isArrayOrTypedArray

Function isArrayOrTypedArray

ui/media/js/utils.js:467–469  ·  view source on GitHub ↗

Check if x is an Array or a TypedArray. * @Returns true if x is an Array or a TypedArray, false otherwise.

(x)

Source from the content-addressed store, hash-verified

465 * @Returns true if x is an Array or a TypedArray, false otherwise.
466 */
467function isArrayOrTypedArray(x) {
468 return Boolean(typeof x === "object" && (Array.isArray(x) || (ArrayBuffer.isView(x) && !(x instanceof DataView))))
469}
470
471function makeQuerablePromise(promise) {
472 if (typeof promise !== "object") {

Callers 1

parseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected