Skip to content

isEnumerable

@tsed/core

Usage ​

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

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

Overview ​

ts
function isEnumerable(obj: any, key: string): boolean | undefined;

Description ​

Checks if a property is enumerable on an object, considering its prototype chain.

Released under the MIT License.