Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/browserify/static-module
/ isStaticProperty
Function
isStaticProperty
index.js:402–404 ·
view source on GitHub ↗
(node)
Source
from the content-addressed store, hash-verified
400
}
401
402
function
isStaticProperty(node) {
403
return
node.
type
===
'Identifier'
|| node.
type
===
'Literal'
;
404
}
405
406
function
resolveProperty(node) {
407
return
node.
type
===
'Identifier'
? node.name : node.value;
Callers
2
walk
Function · 0.85
traverse
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…