Function Schema.getField

If this is a record, returns the Field with the given name [fieldName]. If there is no field by that name, a [null] is returned.

inout inout(Field) getField (
  string fieldName
) @safe;