UNPKG

@atproto/jwk-jose

Version:

`jose` based implementation of @atproto/jwk Key's

7 lines 208 B
export function either(a, b) { if (a != null && b != null && a !== b) { throw new TypeError(`Expected "${b}", got "${a}"`); } return a ?? b ?? undefined; } //# sourceMappingURL=util.js.map