extractFunctionDefaults
Extracts the default values of a function parameters. It returns an array of the default values because after minification the parameter names are lost.
Presentation
function extractFunctionDefaults (fn: FunctionType <unknown>): unknown[];Returns
unknown[]Parameters
| Name | Type | Description |
|---|---|---|
| fn | | Function to extract the default values from |