Trilium Backend API
    Preparing search index...
    • Checks the current list of elements and returns true if any of the elements match the selector. If using an element or Cheerio selection, returns true if any of the elements match. If using a predicate function, the function is executed in the context of the selected element, so this refers to the current element.

      Type Parameters

      • T

      Parameters

      Returns boolean

      Whether or not the selector matches an element of the instance.