json-joy
    Preparing search index...

    Interface Identifiable

    Something in the document that can be identified by ID. All operations have IDs and operations result into JSON nodes and chunks, which also have IDs.

    interface Identifiable {
        id: ITimestampStruct;
        span(): number;
        toString(tab?: string): string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Methods

    Properties

    Unique ID within a document.

    Methods

    • Sometimes an Identifiable can be a compound entity, which holds multiple entries with sequentially growing timestamps. In this case span represents the number of entries.

      Returns number

    • Parameters

      • Optionaltab: string

      Returns string