Skip to content

lookupResultToBuffer

lookupResultToBuffer(result): undefined | Uint8Array<ArrayBufferLike>

Defined in: packages/core/src/agent/certificate.ts:465

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