INNER CODE UNIT · TypeScript

singleWord

nut-tree/nut.js · core/nut.js/index.ts:71

const singleWord = (word: string): WordQuery => {
  return {
    type: "text",
    id: `word-query-${word}`,
    by: {
      word
    }
  };
};
const textLine = (line: string): LineQuery => {
  return {
    type: "text",
    id: `line-query-${line}`,
    by: {
      line
    }
  };
};

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…