Angular Conwert Boolean na tak nie

convertBooleanToYesOrNo(boolean: Boolean) {
    return boolean ? 'yes' : 'no';
}
Adorable Anteater