persisting.js
function hasMessageIdentifier(msgState) {
  const md5s = msgState.md5s;
  return isNotBlank(msgState.eventID) || // isNotBlank(msgState.eventSeqNo) || isNotBlank(msgState.eventSubSeqNo) ||
    (msgState.idVals && msgState.idVals.some(isNotBlank)) ||
    ((msgState.keyVals && msgState.keyVals.some(isNotBlank)) &&
      (msgState.seqNoVals && msgState.seqNoVals.some(isNotBlank))) ||
    (md5s && (isNotBlank(md5s.msg) || isNotBlank(md5s.userRec) || isNotBlank(md5s.rec) || isNotBlank(md5s.data)));
}
function hasMessageIdentifier(msgState) {
  const md5s = msgState.md5s;
  return isNotBlank(msgState.eventID) || // isNotBlank(msgState.eventSeqNo) || isNotBlank(msgState.eventSubSeqNo) ||
    (msgState.idVals && msgState.idVals.some(isNotBlank)) ||
    ((msgState.keyVals && msgState.keyVals.some(isNotBlank)) &&
      (msgState.seqNoVals && msgState.seqNoVals.some(isNotBlank))) ||
    (md5s && (isNotBlank(md5s.msg) || isNotBlank(md5s.userRec) || isNotBlank(md5s.rec) || isNotBlank(md5s.data)));
}
function hasMessageIdentifier ( msgState ) { const md5s = msgState . md5s ; return isNotBlank ( msgState . eventID ) || // isNotBlank(msgState.eventSeqNo) || isNotBlank(msgState.eventSubSeqNo) || ( msgState . idVals && msgState . idVals . some ( isNotBlank ) ) || ( ( msgState . keyVals && msgState . keyVals . some ( isNotBlank ) ) && ( msgState . seqNoVals && msgState . seqNoVals . some ( isNotBlank ) ) ) || ( md5s && ( isNotBlank ( md5s . msg ) || isNotBlank ( md5s . userRec ) || isNotBlank ( md5s . rec ) || isNotBlank ( md5s . data ) ) ) ; }
Returns true if the given message state has at least one non-blank identifier; otherwise false.
@param {MessageState} msgState - the tracked state of a message
@return {boolean}
Returns true if the given message state has at least one non - blank identifier ; otherwise false .