findFieldIndexByName

Same as getFieldIndex, but checks for a direct match with the VarDeclaration

pure
int
findFieldIndexByName

Return Value

Type: int

index of the field, or -1 if not found

Suggestion Box / Bug Report