method
NonNullInput.Get
Get returns the supplied value, or the zero value and false for an omitted input. Encoding still validates that the value does not encode as JSON null.
Returns
The declared result.
(T, bool)Full signature
func (input *NonNullInput[T]) Get() (
T,
bool,
)Related types
NonNullInputA write-only generated mutation value that refuses to encode JSON null.