Options
Menu

External module "twilio/util"

Index

Functions

TwilioException

  • Exception class.

    name

    Exception

    exports

    Exception as Twilio.Exception

    memberof

    Twilio

    Parameters

    • message: string

      The exception message

    Returns TwilioException

average

  • average(values: any): number

difference

  • difference(lefts: any, rights: any, getKey: any): any

flatMap

  • flatMap(list: any[] | Set<any> | Map<any, any>, mapFn: undefined | object): any
  • Map a list to an array of arrays, and return the flattened result.

    Parameters

    • list: any[] | Set<any> | Map<any, any>
    • mapFn: undefined | object

    Returns any

    Array<*>

isChrome

  • isChrome(window: any, navigator: any): boolean

isElectron

  • isElectron(navigator: any): boolean

isFirefox

  • isFirefox(navigator: any): boolean

isLegacyEdge

  • isLegacyEdge(navigator: any): boolean

isSafari

  • isSafari(navigator: any): boolean

isUnifiedPlanDefault

  • isUnifiedPlanDefault(window: any, navigator: any, PeerConnection: any, RtpTransceiver: any): boolean
  • Parameters

    • window: any
    • navigator: any
    • PeerConnection: any
    • RtpTransceiver: any

    Returns boolean

queryToJson

  • queryToJson(params: any): any

Generated using TypeDoc