Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ maybeBind
Function
maybeBind
test/fixtures/snapshot/typescript.js:1631–1633 ·
view source on GitHub ↗
(obj, fn)
Source
from the content-addressed store, hash-verified
1629
}
1630
ts.copyProperties = copyProperties;
1631
function
maybeBind(obj, fn) {
1632
return
fn ? fn.bind(obj) : undefined;
1633
}
1634
ts.maybeBind = maybeBind;
1635
function
createMultiMap() {
1636
var
map =
new
ts.Map();
Callers
2
onLeft
Function · 0.85
onRight
Function · 0.85
Calls
2
bind
Function · 0.70
bind
Method · 0.45
Tested by
no test coverage detected