11 lines
396 B
JavaScript
11 lines
396 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.constantFrom = constantFrom;
|
|
const ConstantArbitrary_1 = require("./_internals/ConstantArbitrary");
|
|
function constantFrom(...values) {
|
|
if (values.length === 0) {
|
|
throw new Error('fc.constantFrom expects at least one parameter');
|
|
}
|
|
return new ConstantArbitrary_1.ConstantArbitrary(values);
|
|
}
|