pulsar_sdk_js
Version:
A convenient way for you to interact with Pulsar's Third Party APIs, using typified classes.
8 lines (7 loc) • 328 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.filter_non_empty_params = void 0;
function filter_non_empty_params(kwargs) {
return Object.fromEntries(Object.entries(kwargs).filter(([_, v]) => v !== undefined && v !== null));
}
exports.filter_non_empty_params = filter_non_empty_params;