Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

UnaryFunction

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: T): R;
}

§Type Parameters

§Call Signatures

§
(source: T): R
[src]