MCPcopy
hub / github.com/pyodide/pyodide / includes

Method includes

src/core/pyproxy.ts:1825–1828  ·  view source on GitHub ↗

* The :js:meth:`Array.includes` method determines whether a Sequence * includes a certain value among its entries, returning true or false as * appropriate. * @param elt * @returns

(elt: any)

Source from the content-addressed store, hash-verified

1823 * @returns
1824 */
1825 includes(elt: any) {
1826 // @ts-ignore
1827 return this.has(elt);
1828 }
1829 /**
1830 * The :js:meth:`Array.entries` method returns a new iterator object that
1831 * contains the key/value pairs for each index in the ``Sequence``.

Callers 13

loadDynlibMethod · 0.80
isAbsoluteFunction · 0.80
node_getBinaryResponseFunction · 0.80
shell_getBinaryResponseFunction · 0.80
nodeLoadScriptFunction · 0.80
getFunction · 0.80
snapshot.tsFile · 0.80
getGlobalRuntimeEnvFunction · 0.80
readMethod · 0.80
literal-map.jsFile · 0.80
sendmsgAsyncFunction · 0.80
isPyodideFrameFunction · 0.80

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected