tinymce.full.js
function isSameNotification(a, b) {
        return a.type === b.settings.type && a.text === b.settings.text;
      }
function isSameNotification(a, b) {
        return a.type === b.settings.type && a.text === b.settings.text;
      }
function isSameNotification ( a , b ) { return a . type === b . settings . type && a . text === b . settings . text ; }
Checks if the passed in args object has the same
type and text properties as the sent in notification.

@param {type: string, text: string} a - New notification args object
@param {Notification} b - Old notification
@returns {boolean}
Checks if the passed in args object has the same type and text properties as the sent in notification .