type Func<T,P,R,S>
A function patch type that is a function taking the current value, the parent and root values, and returns a return value.
Definition
type Func<T, P, R, S> = (current: Protected<T>, parent: Protected<P>, root: Protected<R>) => Protected<S>;