Trilium Backend API
    Preparing search index...
    • Will select the last element of a cheerio object.

      Type Parameters

      • T

      Parameters

      Returns Cheerio<T>

      The last element.

      $('#fruits').children().last().text();
      //=> Pear