nl_tokens: @desc Updates registrant contact details in state [ { domainName } ] . data
pl_tokens: function mergeDomainRegistrantContactDetails ( domainState , registrantContactDetails ) { return isArray ( domainState . data ) ? domainState . data . <mask> ( item => { if ( item . type === whoisType . REGISTRANT ) { return { ... item , ... registrantContactDetails , } ; } return item ; } ) : [ { ... registrantContactDetails , type : whoisType . REGISTRANT , } , ] ; }