Methods
Static FromBase64String
- FromBase64String(encodedStr: string): number[]
-
Parameters
Returns number[]
Static ToBase64String
- ToBase64String(byteArray: number[]): string
-
Parameters
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
Returns number