Fediversity/website/node_modules/@hapi/hoek/lib/utils.js
2024-11-13 15:47:11 +01:00

10 lines
205 B
JavaScript
Executable file

'use strict';
const internals = {};
exports.keys = function (obj, options = {}) {
return options.symbols !== false ? Reflect.ownKeys(obj) : Object.getOwnPropertyNames(obj); // Defaults to true
};