View Source DataSpecs.Schema.Formatter (dataspecs v2.1.0)

Formatter.

Summary

Functions

Convert a schema to its typespec representation.

Functions

Link to this function

to_typespec_string(t, width \\ 80)

View Source
@spec to_typespec_string(DataSpecs.Schema.Type.t(), width :: pos_integer()) ::
  String.t()

Convert a schema to its typespec representation.