apply method

$R apply(
  1. $T transform(
    1. $T
    )
)

Applies any transformer function on the value

Implementation

$R apply($T Function($T) transform) => $then(transform($value));