getTiddlersByPrefix = (prefix, options = {}) => {

  const removePrefix = (options.removePrefix === true);
  const result = [];
  const iterator = $tw.wiki[options.iterator || 'each'];

  iterator((tObj, tRef) => {
    if (basicUtils.startsWith(tRef, prefix)) {
      result.push(removePrefix ? basicUtils.getWithoutPrefix(tRef, prefix) : tRef);
    }
  });

  return result;

}
Iterates over all tiddlers in a given way and returns tiddlers
whose title matches the prefix string.

@param {string} prefix - The prefix to match
@param {Hashmap} [options] - An options object.
@param {string} [options.iterator="each"] - A tw store iterator
   function, e.g. "eachShadow" or "ShadowPlusTiddlers".
@param {boolean} [options.removePrefix= false] - Whether to remove
    the prefix or to leave it.
@return {Array<string>} The matches with or without the prefix.