Take¶
Name | - | Description | Default | Type |
---|---|---|---|---|
<input> |
The sequence or table from which elements/key-values have to be extracted. | Int2 Int3 Int4 Int8 Int16 Float2 Float3 Float4 Bytes Color String [Any] {Any} |
||
<output> |
The extracted elements/key-values. | Any |
||
Indices/Keys |
One or more indices/keys to extract from a sequence/table. | None |
Int [Int] &Int &[Int] String [String] &String &[String] |
Extracts one or more elements/key-values from a sequence or a table by using the provided sequence index/indices or table key(s). Operation is non-destructive; doesn't modify target sequence/table.
Examples¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
|
[info] [shards/General/Take/1.edn] 20
[info] [shards/General/Take/1.edn] [20 30]
[info] [shards/General/Take/1.edn] 10
[info] [shards/General/Take/1.edn] [20 10]
[info] [shards/General/Take/1.edn] None
[info] [shards/General/Take/1.edn] 20
[info] [shards/General/Take/1.edn] 2
[info] [shards/General/Take/1.edn] 10