@dynatrace/react-native-plugin
Version:
This plugin gives you the ability to use the Dynatrace Mobile agent in your react native application.
8 lines (7 loc) • 386 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.includeIfTrue = exports.includeIfDefined = void 0;
const includeIfDefined = (key, value) => (value !== undefined ? { [key]: value } : {});
exports.includeIfDefined = includeIfDefined;
const includeIfTrue = (key, value) => value === true ? { [key]: value } : {};
exports.includeIfTrue = includeIfTrue;