MCPcopy
hub / github.com/boo1ean/casual / populate_one_of

Function populate_one_of

src/helpers.js:80–82  ·  view source on GitHub ↗
(formats)

Source from the content-addressed store, hash-verified

78};
79
80var populate_one_of = function(formats) {
81 return this.populate(this.random_element(formats));
82};
83
84module.exports = {
85 array_of: array_of,

Callers

nothing calls this directly

Calls 2

populateMethod · 0.80
random_elementMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…