Home Reference Source Test Repository

Typedef

Static Public Summary
public

Reaction(keys: string[] | Object, prefix: string): Object: Function

Static Public

public Reaction(keys: string[] | Object, prefix: string): Object: Function source

Return:

Object

Example:

reaction({ACTION1: null, ACTION2: null}, 'FOO/');
// {ACTION1: 'FOO/ACTION1', ACTION2: 'FOO/ACTION2'};
reaction(['ACTION1', 'ACTION2'], 'BAR/');
// {ACTION1: 'BAR/ACTION1', ACTION2: 'BAR/ACTION2'};