cspell-lib
Version:
A library of useful functions used across various cspell tools.
10 lines • 381 B
JavaScript
export function isDictionaryDefinitionInlineInternal(def) {
if (def.path)
return false;
const defInline = def;
return !!(defInline.words || defInline.flagWords || defInline.ignoreWords || defInline.suggestWords);
}
export function isDictionaryFileDefinitionInternal(def) {
return !!(def.path || def.file);
}
//# sourceMappingURL=InternalDictionaryDef.js.map