@alex.garcia/libfec / entityTypeLabel
Function: entityTypeLabel()
entityTypeLabel(
code):string|null
Defined in: generated/labels.ts:113
The FEC's name for an entity_type code: CAN Candidate, CCM Candidate Committee, COM Committee, IND Individual (a person), ORG Organization (not a committee and not a person), PAC Political Action Committee, PTY Party Organization (FEC format specification v8.4, FEC_Format_v8.4.pdf p10). None for any other value.
Returns null for null, undefined and unknown codes. Mirrors Rust's fec_parser::itemizations::entity_type_label.
Parameters
code
string | null | undefined
Returns
string | null