Type.getField

Looks up a field by name.

class Type
const
const(Field)
getField
(
string name
)

Parameters

name string

The name of the field.

Return Value

Type: const(Field)

The field object, or null if no such field exists.

Meta