convert to boolean typescript code example Example: angular convert boolean to string var myBool: bool = true; var myString: string = String(myBool);