UnaryFunction interface
interface UnaryFunction<T, R> {
(source: T): R
}
A function type interface that describes a function that accepts one parameter T and returns another parameter R.
interface UnaryFunction<T, R> {
(source: T): R
}
A function type interface that describes a function that accepts one parameter T and returns another parameter R.