Добавлена ДБ
This commit is contained in:
8
node_modules/fast-check/lib/arbitrary/shuffledSubarray.js
generated
vendored
Normal file
8
node_modules/fast-check/lib/arbitrary/shuffledSubarray.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.shuffledSubarray = shuffledSubarray;
|
||||
const SubarrayArbitrary_1 = require("./_internals/SubarrayArbitrary");
|
||||
function shuffledSubarray(originalArray, constraints = {}) {
|
||||
const { minLength = 0, maxLength = originalArray.length } = constraints;
|
||||
return new SubarrayArbitrary_1.SubarrayArbitrary(originalArray, false, minLength, maxLength);
|
||||
}
|
||||
Reference in New Issue
Block a user