MCPcopy
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.jsFile · 0.85
escapeRegExpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected