typescript cast boolean to string code example
Example: boolean to string typescript
// cannot use toString(), use instead String()
var myBool: boolean = true;
var myString: string = String(myBool);
// cannot use toString(), use instead String()
var myBool: boolean = true;
var myString: string = String(myBool);