β¬ οΈ Back to Table of Contents
π ast-utils/predicates¶
π Analysis Summary¶
| Metric | Count |
|---|---|
| π§ Functions | 1 |
| π¦ Imports | 8 |
| π Variables & Constants | 2 |
π Table of Contents¶
π οΈ File Location:¶
π packages/utils/src/ast-utils/predicates.ts
π¦ Imports¶
| Name | Source |
|---|---|
TSESTree |
../ts-estree |
AST_NODE_TYPES |
../ts-estree |
AST_TOKEN_TYPES |
../ts-estree |
isNodeOfType |
./helpers |
isNodeOfTypes |
./helpers |
isNodeOfTypeWithConditions |
./helpers |
isNotTokenOfTypeWithConditions |
./helpers |
isTokenOfTypeWithConditions |
./helpers |
Variables & Constants¶
| Name | Type | Kind | Value | Exported |
|---|---|---|---|---|
functionTypes |
readonly [any, any, any] |
const | [ AST_NODE_TYPES.ArrowFunctionExpression, AST_NODE_TYPES.FunctionDeclaration,... |
β |
functionTypeTypes |
readonly [any, any, any, any, any, an... |
const | [ AST_NODE_TYPES.TSCallSignatureDeclaration, AST_NODE_TYPES.TSConstructorType... |
β |
Functions¶
isSetter(node: TSESTree.Node | undefined): node is { kind: 'set' } & (TSESTree.MethodDefinition | TSES⦶
Checks if a node is a setter method.
Code
Generated by Syntax Scribe