Skip to content

LookupResultToBuffer

lookupResultToBuffer(result): undefined | Uint8Array<ArrayBufferLike>

Defined in: packages/agent/src/certificate.ts:356

Utility function to constrain the type of a lookup result

LookupResult

the result of a lookup

undefined | Uint8Array<ArrayBufferLike>

the value if the lookup was found, undefined otherwise