TreasureTrails/node_modules/fast-check/lib/arbitrary/uint16Array.js

10 lines
499 B
JavaScript
Raw Permalink Normal View History

2026-03-18 09:02:21 -05:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.uint16Array = uint16Array;
const globals_1 = require("../utils/globals");
const integer_1 = require("./integer");
const TypedIntArrayArbitraryBuilder_1 = require("./_internals/builders/TypedIntArrayArbitraryBuilder");
function uint16Array(constraints = {}) {
return (0, TypedIntArrayArbitraryBuilder_1.typedIntArrayArbitraryArbitraryBuilder)(constraints, 0, 65535, globals_1.Uint16Array, integer_1.integer);
}