Sinter.NotGiven (Sinter v0.1.0)
View SourceSentinel values for distinguishing omitted fields from explicit nil.
Mirrors Python's NotGiven/Omit pattern so request payload builders can
drop fields that callers intentionally left out while preserving nil values.
Summary
Functions
Replace sentinel values with the provided fallback.
Check if a value is the NotGiven sentinel.
Retrieve the omit sentinel used to explicitly drop default values.
Check if a value is the omit sentinel.
Retrieve the NotGiven sentinel.
Functions
Replace sentinel values with the provided fallback.
Check if a value is the NotGiven sentinel.
@spec omit() :: :__sinter_omit__
Retrieve the omit sentinel used to explicitly drop default values.
Check if a value is the omit sentinel.
@spec value() :: :__sinter_not_given__
Retrieve the NotGiven sentinel.