Skip to content

Documentation / @eventkit/base / map

Function: map() ​

ts
function map<T, R>(predicate): OperatorFunction<T, R>

Applies a given predicate function to each value emitted by the source observable.

Type Parameters ​

Type Parameter
T
R

Parameters ​

ParameterType
predicate(value, index) => R

Returns ​

OperatorFunction<T, R>

Released under the MIT License.