Keep first n entries only (default order).
{[k₀, v₀], [k₁, v₁], ...} | [kᵢ, vᵢ] ∈ x and |{[k₀, v₀], [k₁, v₁], ...}| ≤ n
lists
number of entries [1]
Generated using TypeDoc
Keep first n entries only (default order).
Returns
{[k₀, v₀], [k₁, v₁], ...} | [kᵢ, vᵢ] ∈ x and |{[k₀, v₀], [k₁, v₁], ...}| ≤ n