get_field


Description:

[ Version ( since = "0.12.0" ) ]
public Field? get_field (int i)

Parameters:

this

A UnionDataType.

i

The index of the target field.

Returns:

The field at the index in the union data type or null on not found.