heidr TypeDocs - v0.0.7
    Preparing search index...

    Function ensureHex

    • Ensures a string has the '0x' hex prefix

      Parameters

      • value: string

        The string to convert to hex format

      Returns `0x${string}`

      The value with '0x' prefix