Download node_modules/fast-check/lib/arbitrary/constantFrom.js from Really-amin/Datasourceforcryptocurrency: direct link, hf CLI and curl.
- Browser
- Download file 396 Bytes
-
https://huggingface.co/spaces/Really-amin/Datasourceforcryptocurrency/resolve/250b128700538234afd94de5d02f4e054f24823e/node_modules/fast-check/lib/arbitrary/constantFrom.js
- Command line
-
hf download hf://spaces/Really-amin/Datasourceforcryptocurrency@250b128700538234afd94de5d02f4e054f24823e/node_modules/fast-check/lib/arbitrary/constantFrom.js
-
curl -L -o constantFrom.js https://huggingface.co/spaces/Really-amin/Datasourceforcryptocurrency/resolve/250b128700538234afd94de5d02f4e054f24823e/node_modules/fast-check/lib/arbitrary/constantFrom.js
396 Bytes
| ; | |
| 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); | |
| } | |