grumble v0.1.2 Grumble.Helpers View Source

Link to this section Summary

Link to this section Types

Link to this type

predicate()

View Source
predicate() :: (term() -> boolean())

Link to this section Functions

Link to this function

const_value?(x)

View Source
const_value?(term()) :: boolean()
Link to this function

field_case(name)

View Source
field_case(atom() | binary()) :: binary()
Link to this function

fragment_name?(name)

View Source
fragment_name?(term()) :: boolean()
Link to this function

operation?(arg1)

View Source
operation?(term()) :: boolean()
Link to this function

string_literal(string)

View Source
string_literal(binary()) :: iolist()
Link to this function

type_case(name)

View Source
type_case(atom() | binary()) :: binary()
Link to this function

validate(pred, val, error)

View Source
validate(test :: predicate(), subject :: term(), error_tag :: term()) :: term()