SDTF QueryResult
The QueryResult class API reference
Last updated
Was this helpful?
Was this helpful?
hasOnlyNodeType(nodeType: 'collection' | 'group' | 'token'): boolean;type QueryResultDetail = {
isRoot: boolean;
parentPath: Array<string>;
isComplete: boolean;
nodes: Array<SDTFNodeState>;
sdtf: SpecifyDesignTokenFormat;
};
render(): Array<QueryResultDetail>;getPaths(type: 'string'): Array<string>;
getPaths(type: 'array'): Array<Array<string>>;
getPaths(type?: undefined): Array<string>;toJSON(): {
isContinuous: boolean;
graphs: {
isRoot: boolean;
parentPath: string[];
isComplete: boolean;
sdtf: SpecifyDesignTokenFormat;
}[];
};