MCPcopy Create free account
hub / github.com/blacksmithgu/datacore / isDataArray

Function isDataArray

src/api/data-array.ts:485–487  ·  view source on GitHub ↗
(obj: unknown)

Source from the content-addressed store, hash-verified

483
484 /** Return true if the given object is a data array. */
485 export function isDataArray(obj: unknown): obj is DataArray<unknown> {
486 return obj instanceof DataArrayImpl;
487 }
488
489 /** Default comparator used for data arrays. */
490 export function defaultComparator(first: unknown, second: unknown): number {

Callers 2

wrapFunction · 0.85
fromFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected