Home Manual Reference Source Repository

all/@jali-ms/core/src/type-guards.js

export function isNotificationMessage(arg) {
    const message = arg;
    return message.messageCode !== undefined
        && message.priority !== undefined
        && message.severity !== undefined
        && message.message !== undefined;
}