Skip to content

isMethodDescriptor

@tsed/core

Usage

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

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

Overview

ts
function isMethodDescriptor(target: any, propertyKey: string | symbol): any;

Description

Checks whether a property descriptor represents a method.

Returns true if the descriptor has a value property (indicating a method).

Released under the MIT License.