Example #1
0
/**
 * Concatenate all "multi-line" strings if item is a list
 * @param {List|string} item to join
 * @return {string} plain ol' string
 */
function cleanMultiline(item : List<string>) {
  return item ? item.join('') : item;
}
Example #2
0
 delayFn(() => {
   console.groupCollapsed(`Action: ${actionName}->${reducerType}, Path: ${path.join('/')}`);
   console.log('%c old state', `color: #9E9E9E; font-weight: bold`, oldState.toJS());
   console.log('%c new state', `color: #4CAF50; font-weight: bold`, newState.toJS());
   console.groupEnd();
 });