license import { Pipe , PipeTransform } from '@angular/core' ; import { WritingMode } from 'src/app/models/writing-mode.model' ; @ Pipe ( { name : 'isWritingModeVertical' , } ) export class IsWritingModeVerticalPipe implements PipeTransform { transform ( value ) { return value === 'vertical-rl' ; } }