UNPKG

typedash

Version:

modern, type-safe collection of utility functions

11 lines (10 loc) 257 B
// src/functions/hasKey/hasKey.ts function hasKey(value, key) { if (typeof value !== "object" || value == null) { return false; } return key in value; } export { hasKey }; //# sourceMappingURL=out.js.map //# sourceMappingURL=chunk-6E4F7AXS.js.map