Skip to content

FieldType

FieldType represents a field’s type value and whether that field supports presence detection.

new FieldType(type, isSet, getFrom, isJSONField?): FieldType

Type

Type of the field as a protobuf type value.

RefFieldTester

IsSet indicates whether the field is set on an input object.

FieldGetter

GetFrom retrieves the field value on the input object, if set.

boolean = false

IsJSONField indicates that the field was accessed via its JSON name.

FieldType

readonly getFrom: FieldGetter

GetFrom retrieves the field value on the input object, if set.


readonly isJSONField: boolean = false

IsJSONField indicates that the field was accessed via its JSON name.


readonly isSet: RefFieldTester

IsSet indicates whether the field is set on an input object.


readonly type: Type

Type of the field as a protobuf type value.