Options
All
  • Public
  • Public/Protected
  • All
Menu

工具类

Hierarchy

  • Utils

Index

Constructors

constructor

Methods

Static isPromise

  • isPromise(value: any): boolean

Static objectKeys

  • objectKeys(obj: object): (string | symbol)[]

Static toBoolean

  • toBoolean(value: any): boolean

Static toDate

  • toDate(value: any): undefined | Date

Static toFunction

  • toFunction(value: any): undefined | Function

Static toJSON

  • toJSON(value: any): undefined | string

Static toNumber

  • toNumber(value: any): undefined | number

Static toRegexp

  • toRegexp(value: any): undefined | RegExp

Static toString

  • toString(value: any): string

Static toSymbol

  • toSymbol(value: any): undefined | symbol

Static where

  • where(wheres: Where[], value: any): boolean