Function isHex

  • For use before hexToBin. Returns true if the provided string is valid hexadecimal (length is divisible by 2, only uses hexadecimal characters).

    Parameters

    • maybeHex: string

      a string to test

    Returns boolean

Generated using TypeDoc