Skip to main content

getRecordFunction

FitFileViewer - API Documentation v30.0.1


FitFileViewer - API Documentation / utils/charts/core/renderChartModuleHelpers / getRecordFunction

Function: getRecordFunction()

getRecordFunction(value: unknown, key: string): UnknownFunction | null

Defined in: utils/charts/core/renderChartModuleHelpers.ts:30

Reads a function property from an unknown record-like value.

Parameters​

value​

unknown

key​

string

Returns​

UnknownFunction | null