10 lines
351 B
JavaScript
10 lines
351 B
JavaScript
import { buildCompareFunctionArbitrary } from './_internals/builders/CompareFunctionArbitraryBuilder.js';
|
|
const safeObjectAssign = Object.assign;
|
|
export function compareBooleanFunc() {
|
|
return buildCompareFunctionArbitrary(safeObjectAssign((hA, hB) => hA < hB, {
|
|
toString() {
|
|
return '(hA, hB) => hA < hB';
|
|
},
|
|
}));
|
|
}
|