Stripper.Whitespace.normalize

You're seeing just the function normalize, go back to Stripper.Whitespace module for more information.

Specs

normalize(string :: String.t()) :: {:ok, String.t()}

The normalize/1 function works the same way as the normalize!/1 function but it returns its output as an :ok tuple.

This is a convenience function provided to have idiomatic function specs.

Usage Examples

iex> normalize("a \t\tbunch\n of \f nonsense\n")
{:ok, "a bunch of nonsense"}