Documentation / @etherfold/core / isPublicationIndex
Function: isPublicationIndex() ​
isPublicationIndex(
value):value is PublicationIndex
Defined in: packages/core/src/publication.ts:109
Whether a parsed document is a publication index of THIS format.
The container shape only (format, the snapshots map, the optional seeds map): what an entry holds is the producer's, and the one reader that acts on an entry fetches the body it names and checks THAT on its own terms.
Parameters ​
value ​
unknown
Returns ​
value is PublicationIndex