UNPKG

@launchmenu/applet-notes

Version:
14 lines 910 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ifNotInherited = void 0; const IInherit_1 = require("./_types/IInherit"); /** * Retrieves the current data, or undefined if data should be inherited * @param data The data to combine * @returns The data if not inherit, or undefined otherwise */ function ifNotInherited(data) { return data == IInherit_1.inherit ? undefined : data; } exports.ifNotInherited = ifNotInherited; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWZOb3RJbmhlcml0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvZGF0YU1vZGVsL2lmTm90SW5oZXJpdGVkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLGdEQUFvRDtBQUVwRDs7OztHQUlHO0FBQ0gsU0FBZ0IsY0FBYyxDQUFJLElBQWtCO0lBQ2hELE9BQU8sSUFBSSxJQUFJLGtCQUFPLENBQUMsQ0FBQyxDQUFDLFNBQVMsQ0FBQyxDQUFDLENBQUUsSUFBNkIsQ0FBQztBQUN4RSxDQUFDO0FBRkQsd0NBRUMifQ==