Scoop API

scoop:scoop.core:0.1.0

IndexGet

interface IndexGet

source · line 5
public
public interface IndexGet<Index, Value>

The generic operator contract used for a[index]. Operand and result types are chosen by the implementation.

function get

source · line 10
public
public operator fun get(index: Index): Value

Implements a[index] for this receiver; domain restrictions and failure behavior belong to the implementing type.