Function sanitizedNonEmptyText

  • Returns a non-empty, sanitized text value for the given nullable textual argument.

    Parameters

    • x: undefined | null | string

      A nullable text value.

    Returns functional.Maybe<string>

    functional!Just sanitized text value if the argument is non-null and non-empty after sanitization, functional!Nothing otherwise.