SPeCS Packages Documentation
    Preparing search index...

    Represents the type guard object for a graph type. For example, BaseGraph.TypeGuard is a Graph.TypeGuard.

    interface TypeGuard<D extends BaseGraph.Data, S extends BaseGraph.ScratchData> {
        isDataCompatible(data: BaseGraph.Data): data is D;
        isScratchDataCompatible(sData: BaseGraph.ScratchData): sData is S;
    }

    Type Parameters

    Index

    Methods