Ash.Resource.Validation.Builtins.present

You're seeing just the function present, go back to Ash.Resource.Validation.Builtins module for more information.
Link to this function

present(attributes, opts \\ [])

View Source

Validates the presence of a list of attributes

If no options are provided, validates that they are all present.

  • :at_least - At least this many must be present. Defaults to the number of attributes provided

  • :at_most - At most this many must be present. Defaults to the number of attributes provided

  • :exactly - Exactly this many must be present