Built-in sanitizer ops. Every clause follows the pipe-friendly
sanitize(value, op) argument order:
" Hello " |> SanitizerDerive.sanitize(:trim) |> SanitizerDerive.sanitize(:downcase)
# => "hello"
Summary
Functions
Apply a user-defined sanitizer module's sanitize/2 callback. The
callback receives the value first and the op atom second.
Functions
Apply a user-defined sanitizer module's sanitize/2 callback. The
callback receives the value first and the op atom second.