Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenEndedGroup/Field2
/ ensureObj
Function
ensureObj
lib/web/tern/tern.js:845–848 ·
view source on GitHub ↗
(tp)
Source
from the content-addressed store, hash-verified
843
}
844
845
function
ensureObj(tp) {
846
if
(!tp || !(tp = tp.getType()) || !(tp instanceof infer.Obj))
return
null;
847
return
tp;
848
}
849
850
function
findExprType(srv, query, file, expr) {
851
var
type
;
Callers
1
findExprType
Function · 0.85
Calls
1
getType
Method · 0.80
Tested by
no test coverage detected