Skip to content

objectKeys

@tsed/core

Usage

typescript
import { objectKeys } from "@tsed/core";

See /packages/core/src/utils/objectKeys.ts.

Overview

ts
function objectKeys(obj: any): string[];

Description

Returns object keys excluding protected keys like constructor and prototype.

Released under the MIT License.