View Source Fussy.Constructors (fussy v0.1.0-rc.5)

Summary

Functions

any()

See Fussy.Validators.Any.new/0.

atom(atom, args \\ [case_sensitive: true])

See Fussy.Validators.Atom.new/2.

boolean(args \\ [])

See Fussy.Validators.Boolean.new/1.

date()

See Fussy.Validators.Date.new/0.

datetime(args \\ [])

See Fussy.Validators.DateTime.new/1.

default(t, default)

See Fussy.Validators.Default.new/2.

either(variants)

See Fussy.Validators.Either.new/1.

enum(atoms, args \\ [case_sensitive: true])

float(args \\ [])

See Fussy.Validators.Float.new/1.

integer(args \\ [])

See Fussy.Validators.Integer.new/1.

list(t, args \\ [])

See Fussy.Validators.List.new/2.

literal(literal)

See Fussy.Validators.Literal.new/1.

map(arg)

map(map, opts \\ [])

See Fussy.Validators.FixedMap.new/2.

non_empty_list(t, args \\ [])

non_empty_string(args \\ [])

non_neg_float(args \\ [])

non_neg_integer(args \\ [])

optional(t)

See Fussy.Validators.Optional.new/1.

pos_integer(args \\ [])

string(args \\ [])

See Fussy.Validators.String.new/1.

tuple(structure, args \\ [])

See Fussy.Validators.Tuple.new/2.