UNPKG

typedash

Version:

modern, type-safe collection of utility functions

13 lines (11 loc) 270 B
'use strict'; // src/functions/hasKey/hasKey.ts function hasKey(value, key) { if (typeof value !== "object" || value == null) { return false; } return key in value; } exports.hasKey = hasKey; //# sourceMappingURL=out.js.map //# sourceMappingURL=index.cjs.map