@rimbu/table
Version:
Immutable spreadsheet-like data structures containing row keys, column keys, and cell values
15 lines • 594 B
JavaScript
import { HashMap } from '@rimbu/hashed/map';
import { SortedMap } from '@rimbu/sorted/map';
import { TableContext, } from '@rimbu/table/custom';
function createContext(options) {
return Object.freeze(new TableContext('HashTableSortedColumn', options?.rowContext ?? HashMap.defaultContext(), options?.columnContext ?? SortedMap.defaultContext()));
}
const _defaultContext = createContext();
export const HashTableSortedColumn = Object.freeze({
..._defaultContext,
createContext,
defaultContext() {
return _defaultContext;
},
});
//# sourceMappingURL=interface.mjs.map