MCPcopy Create free account
hub / github.com/BridgeAR/safe-stable-stringify / descending

Function descending

test.js:182–182  ·  view source on GitHub ↗

@param {string} left @param {string} right

(left, right)

Source from the content-addressed store, hash-verified

180 for (const TypedArray of [BigInt64Array, BigUint64Array]) {
181 const value = Object.assign(new TypedArray(12), { z: 1, a: 2 })
182 const descending = /** @param {string} left @param {string} right */ (left, right) => right.localeCompare(left)
183 for (const deterministic of [true, false, descending]) {
184 for (const maximumBreadth of [1, 11, 12, 13, 14, 15]) {
185 for (const safe of [false, true]) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected