1.0.1 • Published 7 years ago

typehelper v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

TypeHelper

TypeHelper 可以简单的对值进行类型检查

以后可能会扩展一些更多的行为

目前有以下功能,从方法名称应该就可以很容易知道其内容了

  • isNull
  • isUndefined
  • isNullOrUndefined 这个比较常用
  • isNumber
  • isString
  • isObject
  • isArrary
  • isBoolean
  • isFunction
  • isEmpty 仅对string或array时有效果