Function head

  • Get first entry from lists (default order).

    Returns

    [k₀, v₀] if x ≠ Φ else ed | [k₀, v₀] ∈ x

    Type Parameters

    • K

    • V

    Parameters

    • x: Lists<K, V>

      lists

    • ed: [K, V] = ...

      default entry

    Returns [K, V]

Generated using TypeDoc