Function cleanString

  • Ensures that if the value is actually assigned a string, that string is trimmed and not empty. If null, undefined or empty (after trimming), it returns null.

    Parameters

    • value: undefined | null | string

    Returns string | null

    trimmed string or null.

Generated using TypeDoc v0.25.12