code: function typa (check, value, fn1, fn2) {
    if (!noru(check) && !noru(value) && !noru(fn1) && !noru(fn2)) {
      return is[check](value) ? fn1 : fn2
    } else {
      throw new Error('Invalid parameters.')
    }
  }
docs: if type of $value is true, $fn1() else $fn2()