getFieldLabel function ✓ 100.0%
Last updated: 2026-03-04T23:21:38.399Z
Metrics
LOC: 5
Complexity: 5
Params: 1
Coverage: 100.0% (2/2 lines, 0x executed)
Signature
getFieldLabel(field: FormField): : string
Source Code
function getFieldLabel(field: FormField): string {
return (
field.label ?? field.name ?? field.id ?? field.fieldType ?? field.selector
);
}
No outgoing dependencies.
Impact (Incoming)
| Source | Type |
|---|---|
| addDetecting | calls |
| updateDetected | calls |
| addFilling | calls |
| updateFilled | calls |
| updateError | calls |