UNPKG

@temporalio/common

Version:

Common library for code that's used across the Client, Worker, and/or Workflow

10 lines 384 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.filterNullAndUndefined = filterNullAndUndefined; /** * Helper to prevent undefined and null values overriding defaults when merging maps */ function filterNullAndUndefined(obj) { return Object.fromEntries(Object.entries(obj).filter(([_k, v]) => v != null)); } //# sourceMappingURL=utils.js.map