You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

9 lines
344 B

import { buildCompareFunctionArbitrary } from './_internals/builders/CompareFunctionArbitraryBuilder.js';
const safeObjectAssign = Object.assign;
export function compareFunc() {
return buildCompareFunctionArbitrary(safeObjectAssign((hA, hB) => hA - hB, {
toString() {
return '(hA, hB) => hA - hB';
},
}));
}