Home > @theatre/dataverse > AbstractDerivation > flatMap

AbstractDerivation.flatMap() method

Signature:

flatMap<R>(fn: (v: V) => R): IDerivation<R extends IDerivation<infer T> ? T : R>;

Parameters

Parameter Type Description
fn (v: V) => R

Returns:

IDerivation<R extends IDerivation<infer T> ? T : R>