⬅️ Back to Table of Contents
📄 isUndefinedIdentifier.ts
📊 Analysis Summary
Metric |
Count |
🔧 Functions |
1 |
📦 Imports |
2 |
📚 Table of Contents
🛠️ File Location:
📂 packages/eslint-plugin/src/util/isUndefinedIdentifier.ts
📦 Imports
Name |
Source |
TSESTree |
@typescript-eslint/utils |
AST_NODE_TYPES |
@typescript-eslint/utils |
Functions
isUndefinedIdentifier(i: TSESTree.Node): boolean
Code
export function isUndefinedIdentifier(i: TSESTree.Node): boolean {
return i.type === AST_NODE_TYPES.Identifier && i.name === 'undefined';
}
- Parameters:
i: TSESTree.Node
- Return Type:
boolean