View Source argo_core (argo v1.0.10)

Summary

Types

-type labeled_type() :: {backreference, argo_types:backreference()} | {length, argo_types:length()}.
-type nullable_type() :: null | non_null | error.
-type omittable_type() :: absent | non_null.

Functions

-spec absent() -> absent.
Link to this function

backreference(Backreference)

View Source
-spec backreference(Backreference) -> {backreference, Backreference}
                 when Backreference :: argo_types:backreference().
-spec error() -> error.
Link to this function

is_absent(OmittableType)

View Source
-spec is_absent(OmittableType) -> boolean() when OmittableType :: omittable_type().
Link to this function

is_backreference(LabeledType)

View Source
-spec is_backreference(LabeledType) -> boolean() when LabeledType :: labeled_type().
-spec is_error(NullableType) -> boolean() when NullableType :: nullable_type().
-spec is_length(LabeledType) -> boolean() when LabeledType :: labeled_type().
-spec is_non_null(NullableType | OmittableType) -> boolean()
               when NullableType :: nullable_type(), OmittableType :: omittable_type().
-spec is_null(NullableType) -> boolean() when NullableType :: nullable_type().
-spec length(Length) -> {length, Length} when Length :: argo_types:length().
-spec non_null() -> non_null.
-spec null() -> null.