Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace is

Index

Functions

Const compareId

  • compareId(a: string | number, b: string | number): boolean
  • Parameters

    • a: string | number
    • b: string | number

    Returns boolean

Const isBrowser

  • isBrowser(): boolean

Const isJSON

  • isJSON(str: string): boolean
  • Parameters

    • str: string

    Returns boolean

Const isMobAgent

  • isMobAgent(userAgent: string): boolean
  • Parameters

    • userAgent: string

    Returns boolean

Const isNotNullOrUndefined

  • isNotNullOrUndefined(val: any): boolean
  • 值存在

    Parameters

    • val: any

    Returns boolean

Const isNull

  • isNull(val: any): val is null
  • Parameters

    • val: any

    Returns val is null

Const isNullOrUndefined

  • isNullOrUndefined(val: any): boolean
  • 值不存在

    Parameters

    • val: any

    Returns boolean

Const isUndefined

  • isUndefined(val: any): val is undefined
  • Parameters

    • val: any

    Returns val is undefined

Generated using TypeDoc