Skip to content

isArrowFn

@tsed/core

Usage ​

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

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

Overview ​

ts
function isArrowFn(target: any): target is Function;

Description ​

Checks if a value is an arrow function by verifying it has no prototype property.

Released under the MIT License.