import { DaffPersonalAddress } from '../models/personal-address' ; import { daffCompareAddresses } from './address' ; param address0 param address1 export function daffComparePersonalAddresses ( address0 , address1 ) { return ! ! ( address0 && address1 && address0 . prefix === address1 . prefix && address0 . suffix === address1 . suffix && address0 . firstname === address1 . firstname && address0 . middlename === address1 . middlename && address0 . lastname === address1 . lastname && address0 . telephone === address1 . telephone && address0 . email === address1 . email && daffCompareAddresses ( address0 , address1 ) ) ; }