Ash.Resource.Validation.Builtins.compare

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

compare(attribute, opts \\ [])

View Source

Validates that attribute meets the given criteria