getItemExpiration: function()

in platform/core/common/services/fds-storage.service.js [165:177]


    getItemExpiration: function (key) {
        const entry = getEntry(key);
        if (entry === null) {
            return null;
        }

        // if the entry has the specified field return its value
        if (isDefinedAndNotNull(entry['expires'])) {
            return entry['expires'];
        }

        return null;
    },