Methods

.ΒΆ

.(a:Arr, attr:Str)

Return array made of given attribute of each element of given array
Source: stdlib.ngs:924

Returns

Arr

Example

[{"x": 1}, {"x": 2}].x  # [1, 2]