Block.getField() method
Returns the named field from a block.
Signature:
getField(name: string): Field | null;
Parameters
Parameter | Type | Description |
---|---|---|
name | string | The name of the field. |
Returns:
Field | null
Named field, or null if field does not exist.