Skip to main content

Function: Before()

Before(func): (target, propertyKey, descriptor) => void

Defined in: service-core/src/decorators/RouteDecorators.ts:111

Indicates a provided function or list of functions to execute before the decorated function.

Parameters

func

string | Function | (string | Function)[]

The function or list of functions to execute before the decorated function.

Returns

(target, propertyKey, descriptor) => void