flowstdlib 0.142.0

The standard library of functions and flows for 'flow' programs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
function = "duplicate"
source = "duplicate.rs"
docs = "duplicate.md"
type = "rust"

[[input]]
name = "value" # - the value to duplicate, generic type (i.e. all types accepted)

[[input]]
name = "factor" # - how many times to duplicate the value in the output
type = "number"

[[output]]
type = "array/" # - the array of duplicate values, of generic type (i.e. the same type as input)