A function type interface that describes a function that accepts one parameter T and returns another parameter R.

Usually used to describe OperatorFunction - it always takes a single parameter (the source Observable) and returns another Observable.

interface UnaryFunction<T, R> ((source) => R)

Type Parameters

  • T

  • R

Hierarchy (view full)

  • Parameters

    • source: T

    Returns R