Croma.Result.wrap_if_valid
You're seeing just the function
wrap_if_valid, go back to Croma.Result module for more information.
Specs
Wraps a given value in an :ok tuple if mod.valid?/1 returns true for the value.
Otherwise returns an :error tuple.