src/appstate.js
function transformBranch (action, ...args) {
  return Array.isArray(action) ?
    transformAsyncBranch.apply(null, [action, ...args]) :
    transformSyncBranch.apply(null, [action, ...args]);
}
function transformBranch (action, ...args) {
  return Array.isArray(action) ?
    transformAsyncBranch.apply(null, [action, ...args]) :
    transformSyncBranch.apply(null, [action, ...args]);
}
function transformBranch ( action , ... args ) { return Array . isArray ( action ) ? transformAsyncBranch . apply ( null , [ action , ... args ] ) : transformSyncBranch . apply ( null , [ action , ... args ] ) ; }
Transform tree branch
@param {Function} action
@param {Array}    args
@param {Array|Function}    args.parentAction
@param {Array}    args.path
@param {Array}    args.actions
@param {Boolean}  args.isSync
@return {Object}
Transform tree branch