Function isHexAddress

  • Check if a string is a valid hex address.

    Returns

    Whether the value is a valid hex address.

    Parameters

    • value: unknown

      The value to check.

    Returns value is `0x${string}`