Function bruteForceString

  • Forces string "null" or "undefined" to their proper types. Needed for handling some responses.

    Parameters

    • value: string

      String to check.

    Returns string | undefined | null

    • Returns null or undefined if string matches, otherwise returns original string.

Generated using TypeDoc