Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Convert

Hierarchy

  • Convert

Index

Methods

Static FromBase64String

  • FromBase64String(encodedStr: string): number[]
  • Parameters

    • encodedStr: string

    Returns number[]

Static ToBase64String

  • ToBase64String(byteArray: number[]): string
  • Parameters

    • byteArray: number[]

    Returns string

Static toBool

  • toBool(value: any, truefalseString?: boolean, throwIfNotBool?: boolean): boolean
  • Parameters

    • value: any
    • Default value truefalseString: boolean = true
    • Default value throwIfNotBool: boolean = false

    Returns boolean

Static toInt

  • toInt(value: any, zeroIfError?: boolean): number
  • Parameters

    • value: any
    • Default value zeroIfError: boolean = true

    Returns number

Static toNumber

  • toNumber(value: any): number
  • Parameters

    • value: any

    Returns number

Generated using TypeDoc