Interface for data access operations related to snippets.

interface DataAccess {
    hasNoChild(): boolean;
    load(): Snippet;
    save(data: Snippet): void;
}

Implemented by

Methods

  • Method to check if the current data (snippet/folder) has no child elements.

    Returns boolean

    True if the current element has no children.