Skip to content

Archive

Archive: object

Defined in: packages/core/src/types.ts:58

Companion object for the Archive type. Provides lightweight structural type guard.

readonly is: (value) => value is Archive

Structural type guard for Archive.

unknown

the value to check

value is Archive

true if value has the Archive shape (type === “archive”)

if (Archive.is(value)) { ... }