File size: 323 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 |
import { find } from 'lodash';
import { whoisType } from './constants';
export function findRegistrantWhois( whoisContacts ) {
return find( whoisContacts, { type: whoisType.REGISTRANT } );
}
export function findPrivacyServiceWhois( whoisContacts ) {
return find( whoisContacts, { type: whoisType.PRIVACY_SERVICE } );
}
|