Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies a functor _functor to each element of the collection, threading an accumulator argument through the computation.
Function folds employee tax state list to integral type, that represents final calculated state.
The formal descriptiopn is ('State -> 'T -> 'State) -> 'State -> 'T list -> 'State.
Folder - The functor to update the state given the input elements.
Syntax
public Object fold(
IRPayTaxCalcFunctor _functor,
Object _initialState,
Object _context)
Run On
Called
Parameters
- _functor
Type: IRPayTaxCalcFunctor Interface
The functor.
- _initialState
Type: Object Class
The initial state.
- _context
Type: Object Class
The context.
Return Value
Type: Object Class
New state after applied element of the list to iunput state.