Documentation

map()

Returns a new MappedValue that transforms the resolved source value.

map(
fn: (
source: UIColor | Gradient | MappedValue,
) => UIColor | Gradient | MappedValue,
): MappedValue;

Parameters

Return value

A new MappedValue instance with lazy evaluation.

Related