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

    Get the siblings of each element (excluding the element) in the set of matched elements, optionally filtered by a selector.

    Type Declaration

    $('.pear').siblings().length;
    //=> 2

    $('.pear').siblings('.orange').length;
    //=> 1