code: function typeToStrFns(type) {
    if (Array.isArray(type)) { return type.map(x => typeToStrFns(x)); }
    return (typeof type === 'function') ?
      type.toString() :
      type;
  }
docs: /* if type is a fn call toString() to get type, redux-actions
  if array, then check members