function
SetNonNull
Construct a present omittable generated mutation value that must not encode as JSON null.
Arguments
| Argument | Type | Description |
|---|---|---|
value | T | The value value. |
Returns
The declared result.
*NonNullInput[T]Full signature
func SetNonNull[T any](value T) *NonNullInput[T]Related types
NonNullInputA write-only generated mutation value that refuses to encode JSON null.