Ash.Type.handle_change

You're seeing just the function handle_change, go back to Ash.Type module for more information.
Link to this function

handle_change(type, old_value, new_value, constraints)

View Source

Process the old casted values alongside the new casted values.

This is leveraged by embedded types to know if something is being updated or destroyed. This is not called on creates.