API Reference > presentation-common > Content > NestedContentField > getFieldByName getFieldByName Method Get field by its name getFieldByName(name: string, recurse?: boolean): Field | undefined Parameter Type Description name string Name of the field to find recurse boolean Recurse into nested fields Returns - Field | undefined Defined in presentation/common/src/content/Fields.ts Line 279 Last Updated: 13 June, 2024