import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'yesNo'
})
export class YesNoPipe implements PipeTransform {
  transform(value: boolean): string {
    return value ? $localize`Yes` : $localize`No`;
  }
}
