MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isIdentifier

Function isIdentifier

scripts/oxlint-plugin-executor/utils.js:76–78  ·  view source on GitHub ↗
(node, name)

Source from the content-addressed store, hash-verified

74}
75
76export function isIdentifier(node, name) {
77 return node?.type === "Identifier" && (name === undefined || node.name === name);
78}
79
80export function isStringLiteral(node) {
81 return (

Callers 15

isSatisfiesExtensionFunction · 0.90
isNewErrorFunction · 0.90
isGlobalFetchMemberFunction · 0.90
isBareFetchCallFunction · 0.90
isMatchOrElseFunction · 0.90
isTagPropertyFunction · 0.90
parameterNameFunction · 0.90
CallExpressionFunction · 0.90
isJsonParseFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected