Files
ospab.host/node_modules/fast-check/lib/esm/arbitrary/compareBooleanFunc.js
2025-09-15 18:10:26 +03:00

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';
},
}));
}