MCPcopy Index your code
hub / github.com/tinyplex/tinybase / arraySort

Function arraySort

src/common/array.ts:41–44  ·  view source on GitHub ↗
(
  array: Value[],
  sorter?: (value1: Value, value2: Value) => number,
)

Source from the content-addressed store, hash-verified

39 );
40
41export const arraySort = <Value>(
42 array: Value[],
43 sorter?: (value1: Value, value2: Value) => number,
44): Value[] => array.sort(sorter);
45
46export const arrayForEach = <Value>(
47 array: {forEach: (cb: (value: Value, index: number) => void) => void},

Callers 5

getSortedRowIdsFunction · 0.90
setIndexDefinitionFunction · 0.90
sortedIdsMapFunction · 0.90
getAxisTicksFunction · 0.90
getContinuousBarWidthFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…