import { AbstractControl } from '@angular/forms' ; import { Observable } from 'rxjs' ; import { mapToOpposite } from '../internals' ; import { formControlPristine$ } from './abstract-control-pristine.stream' ; export function abstractControlDirty$ ( formControl ) { return formControlPristine$ ( formControl ) . pipe ( mapToOpposite ( ) ) ; }