function call(expression, context, payload) {
	let id;
	let args;

	if (typeof expression === 'object') {
		id = expression.id;
		args = expression.args;
	} else if (typeof expression === 'string') {
		id = expression;
		args = [];
	}
	if (!id) {
		invariant(process.env.NODE_ENV === 'production', 'you must provide an expression id');
	}
	const check = get(id, context);
	if (!check) {
		invariant(process.env.NODE_ENV === 'production', `you must register expression ${id} first`);
	}
	return check({ context, payload }, ...args);
}
/**
 * expressions are registred function which can be called through configuration
 * @param {string|object} expression to call
 * @param {object} React context
 * @param {object} payload will be in expression argument
 */
expressions are registred function which can be called through configuration
@param {string|object} expression to call
@param {object} React context
@param {object} payload will be in expression argument
expressions are registred function which can be called through configuration @param { string|object } expression to call @param { object } React context @param { object } payload will be in expression argument
function call(expression, context, payload) {
	let id;
	let args;
	if (typeof expression === 'object') {
		id = expression.id;
		args = expression.args;
	} else if (typeof expression === 'string') {
		id = expression;
		args = [];
	}
	if (!id) {
		invariant(process.env.NODE_ENV === 'production', 'you must provide an expression id');
	}
	const check = get(id, context);
	if (!check) {
		invariant(process.env.NODE_ENV === 'production', `you must register expression ${id} first`);
	}
	return check({ context, payload }, ...args);
}
function call ( expression , context , payload ) { let id ; let args ; if ( typeof expression === 'object' ) { id = expression . id ; args = expression . args ; } else if ( typeof expression === 'string' ) { id = expression ; args = [ ] ; } if ( ! id ) { invariant ( process . env . NODE_ENV === 'production' , 'you must provide an expression id' ) ; } const check = get ( id , context ) ; if ( ! check ) { invariant ( process . env . NODE_ENV === 'production' , ` ${ id } ` ) ; } return check ( { context , payload } , ... args ) ; }
expressions are registred function which can be called through configuration
 @param {string|object} expression to call
 @param {object} React context
 @param {object} payload will be in expression argument
expressions are registred function which can be called through configuration @param { string|object } expression to call @param { object } React context @param { object } payload will be in expression argument