fontkitInterface.FontKit.prototype.has = function()

in index.js [3:8]


fontkitInterface.FontKit.prototype.has = function (key) {
  const font = this.exactMatch(key);
  const hasFont = !!font;
  if (font) font[Symbol.dispose]();
  return hasFont;
};