Trilium Backend API
    Preparing search index...
    prev: <T extends AnyNode>(
        this: Cheerio<T>,
        selector?: AcceptedFilters<Element>,
    ) => Cheerio<Element>

    Gets the previous sibling of each selected element optionally filtered by a selector.

    Type Declaration

    $('.orange').prev().hasClass('apple');
    //=> true