Skip to content

toOption

toOption<E, A>(data): Option<A>

Defined in: Core/RemoteData.ts:259

Converts a RemoteData to an Option. Success becomes Some, all other states become None.

E

A

RemoteData<E, A>

Option<A>