MCPcopy Index your code
hub / github.com/JedWatson/react-select / isArray

Function isArray

packages/react-select/src/utils.ts:374–376  ·  view source on GitHub ↗
(arg: unknown)

Source from the content-addressed store, hash-verified

372}
373
374export function isArray<T>(arg: unknown): arg is readonly T[] {
375 return Array.isArray(arg);
376}
377
378export function valueTernary<Option, IsMulti extends boolean>(
379 isMulti: IsMulti | undefined,

Callers 1

cleanValueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…