type WithResult<T,P,R,S>
A type that either directly results in result type S or is a function taking the value, parent, and root values, and returns a value of type S.
Definition
type WithResult<T, P, R, S> = S | Match.Func<T, P, R, S>;