Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jprichardson/string.js
/ ensureString
Function
ensureString
lib/string.js:843–845 ·
view source on GitHub ↗
(string)
Source
from the content-addressed store, hash-verified
841
}
842
843
function
ensureString(string) {
844
return
string == null ?
''
:
''
+ string;
845
}
846
847
//from underscore.string
848
var
reversedEscapeChars = {};
Callers
2
string.js
File · 0.85
escapeRegExp
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected