Interface WithValues

URI charge with own value or list items.

Hierarchy

Accessors

Methods

  • Obtains an item charge at the given index.

    For single-valued charge, map, and URICharge.None always returns itself for indices 0 and -1, and none for any other index.

    For the list returns an URI charge of the item at the given index, or none if there is no such item.

    Parameters

    • index: number

      Zero-based index of the list item to be returned. Negative index counts back from the end of the list — if index < 0, index + array.length is accessed.

    Returns None | Some

    Target item charge, or none if there is no such item.

Generated using TypeDoc