Ash.Type.Function (ash v3.4.68)

View Source

Represents a function.

If the type would be dumped to a native format, :erlang.term_to_binary(term, [:safe]) is used.

Please keep in mind, this is NOT SAFE to use with external input.

More information available here: https://erlang.org/doc/man/erlang.html#binary_to_term-2

Constraints

  • :arity (pos_integer/0) - Enforces a specific arity on the provided function

Summary

Functions

handle_change?()

prepare_change?()