Skip to content

Function inspectFunctionCall() ​

inspectFunctionCall<A, R>(func: (...args: A) => R, args: A, returnValue: R, options?: InspectionOptions): string

Source: inspect.ts

Returns a string representation of a function call, its arguments and its return value.

Type Parameters ​

A ​

A extends unknown[] = []

R ​

R = undefined

Parameters ​

func ​

(...args: A) => R

The function to inspect.

args ​

A

The arguments of the function call.

returnValue ​

R

The return value of the function call.

options? ​

InspectionOptions

Optional inspection options.

Returns ​

string

The resulting string.

Built by Prozilla