Skip to content

get

get<S, A>(opt): (s) => Maybe<A>

Defined in: Core/Optional.ts:100

Reads the focused value from a structure, returning Maybe.

S

A

Optional<S, A>

(s): Maybe<A>

S

Maybe<A>

pipe(profile, Optional.get(bioOpt)); // Some("...") or None