MCPcopy Create free account
hub / github.com/purifycss/purifycss / addWord

Function addWord

src/utils/ExtractWordsUtil.js:1–3  ·  view source on GitHub ↗
(words, word)

Source from the content-addressed store, hash-verified

1const addWord = (words, word) => {
2 if (word) words.push(word)
3}
4
5export const getAllWordsInContent = content => {
6 let used = {

Callers 1

getAllWordsInSelectorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected