Index overview
Added in v1.0.0
Table of contents
utils
Index (interface)
Typeclass that defines a Lens
from an S
to an A
at an index I
Signature
export interface Index<in out S, in I, in out A> {
readonly index: (i: I) => Optional<S, A>
}
Added in v1.0.0
fromAt
Signature
export declare const fromAt: <S, I, A>(F: At<S, I, Option<A>>) => Index<S, I, A>
Added in v1.0.0