findDataFrameFieldIndexByName
findDataFrameFieldIndexByName(
frame,name):number
Defined in: packages/model-dataset/src/frame/data-frame.ts:63
Position of a field within the frame, or -1.
O(n) in the field count, which is small; a caller resolving many names should build its own index once instead of calling this in a loop.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”number