Files
infocom-systems-design/node_modules/langium/lib/grammar/workspace/documents.js
2025-10-03 22:27:28 +03:00

15 lines
635 B
JavaScript

/******************************************************************************
* Copyright 2022 TypeFox GmbH
* This program and the accompanying materials are made available under the
* terms of the MIT License, which is available in the project root.
******************************************************************************/
export function isDeclared(type) {
return type && 'declared' in type;
}
export function isInferred(type) {
return type && 'inferred' in type;
}
export function isInferredAndDeclared(type) {
return type && 'inferred' in type && 'declared' in type;
}
//# sourceMappingURL=documents.js.map