rxjs / latest / api / index / interface / unaryfunction.html

UnaryFunction

interface stable

OPERATOR INTERFACES

interface UnaryFunction<T, R> {
  (source: T): R
}

Methods

(source: T): R

Parameters

source T

Returns

R

© 2015–2022 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors.
Code licensed under an Apache-2.0 License. Documentation licensed under CC BY 4.0.
https://rxjs.dev/api/index/interface/UnaryFunction