typechecker

Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
arrayassertassertionasyncasync functionasync-functionasyncFunctionboolbooleanbrowsercheckcheck-typecheckingclassclass-identifierclass-instancecompareconventional classconventional-classconventionalClassdatedefine-typedenodeno-editiondeno-entrydenolandemptyempty arrayempty keysempty mapempty plain objectempty-arrayempty-keysempty-mapempty-plain-objectemptyArrayemptyKeysemptyMapemptyPlainObjecterrores2022es5functionget object typeget typeget-object-typeget-typegetObjectTypegetTypeinstanceofisis argumentsis arrayis asyncis async functionis boolis booleanis classis conventional classis dateis empty arrayis empty keysis empty mapis empty plain objectis empty weak mapis erroris functionis mapis native classis nullis nullishis numberis objectis plain objectis regexpis stringis syncis sync functionis undefinedis weak mapis-argumentsis-arrayis-asyncis-async-functionis-boolis-booleanis-classis-conventional-classis-dateis-empty-arrayis-empty-keysis-empty-mapis-empty-plain-objectis-empty-weak-mapis-erroris-functionis-mapis-native-classis-nullis-nullishis-numberis-objectis-plain-objis-plain-objectis-regexpis-stringis-syncis-sync-functionis-undefinedis-weak-mapisArgumentsisArrayisAsyncFunctionisBoolisBooleanisClassisConventionalClassisDateisEmptyArrayisEmptyKeysisEmptyMapisEmptyPlainObjectisEmptyWeakMapisErrorisFunctionisMapisNativeClassisNullisNullishisNumberisObjectisRegExpisStringisSyncisSyncFunctionisUndefinedisWeakMapjavascriptjavascript-typekeyskindmapmodulenativenative classnative-classnativeClassnodenullnumberobjectplainplain objectplain objectsplain-objectplain-objectsplainObjectprimitiveprimitive-typespureregexregexpregular expressionsimplestringsyncsyncFunctiontesttypetype-checktype-checkertype-checkingtypecheckertypedtypeguardstypeoftypestypescriptundefinedutilutilityvalidatevalidationvanillaverifyweak mapweak-mapweakMapwhat-type

hi-datatype-operation

TypeScript 原生类型守卫生成器,自动同步类型定义与运行时验证逻辑。支持装饰器语法、类型谓词组合与泛型约束验证,提供 VS Code 智能提示插件。