Check out example codes for "angular convert boolean to string". It will help you in understanding the concepts better.

Code Example 1

var myBool: bool = true;
var myString: string = String(myBool);

Learn ReactJs, React Native from akashmittal.com