Back to Table

getFunctionNameInfo

docs/reference/functions/getFunctionNameInfo.md

8.21.3575 B
Original Source

Function: getFunctionNameInfo()

ts
function getFunctionNameInfo(staticFnName, splitBy): object;

Defined in: utils.ts:280

Assumes that a function name is in the format of parentName_fnKey and returns the fnKey and fnName in the format of parentName.fnKey.

Parameters

staticFnName

string

splitBy

"_" | "."

Returns

object

fnKey

ts
fnKey: string;

fnName

ts
fnName: string;

parentName

ts
parentName: string;