We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71d48a0 commit da88380Copy full SHA for da88380
packages/utilities/kit/src/ast/env-checks.ts
@@ -20,9 +20,8 @@ export function isProcessEnvNodeEnv(node: TSESTree.Node | null | unit): node is
20
}
21
22
/**
23
- * expression that compares `process.env.NODE_ENV` with a string literal
+ * Check if the given node is a binary expression that compares `process.env.NODE_ENV` with a string literal.
24
* @param node The AST node
25
- * Check if the given node is a binary
26
* @param operator The operator used in the comparison
27
* @param value The string literal value to compare against
28
* @returns True if the node is a binary expression that compares `process.env.NODE_ENV` with the specified value, false otherwise
0 commit comments