isPresent

Returns whether field was explicitly provided on this input.

This distinguishes a field that a GraphQL operation actually supplied a value for (including an explicit null) from one that was left unset. It is only meaningful for the top-level fields of this input: graphql-java applies input coercion — including default values — deep inside the engine for nested input objects, so presence cannot be determined for fields nested any deeper than the receiver itself.

Defined as an extension on InputLike (Input / Arguments) so it is discoverable via completion on an input instance and cannot be called on output-object types.