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