MCPcopy Create free account
hub / github.com/bvaughn/react-virtualized / toggle

Function toggle

lib/components/Table/createMultiSort.ts:43–44  ·  view source on GitHub ↗
(direction: SortDirectionMap[string])

Source from the content-addressed store, hash-verified

41 });
42
43 const toggle = (direction: SortDirectionMap[string]) =>
44 direction === "ASC" ? "DESC" : "ASC";
45
46 function sort({
47 defaultSortDirection,

Callers 1

sortFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected