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

@Pipe({
    name: 'checklessmoreseat'
})
export class ChecklessmoreseatPipe implements PipeTransform {

    transform(array: any): unknown {
        let isOK:any = false
        if(array.start_seat_no != null && array.end_seat_no != null && array.start_seat_no !== 0 && array.end_seat_no !== 0){
            if (array.start_seat_no > array.end_seat_no){
                isOK = true
            }
        }
        return isOK
    }

}
