MCPcopy Index your code
hub / github.com/documentationjs/documentation / isString

Function isString

src/default_theme/assets/split.js:46–46  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

44
45 // Helper function checks if its argument is a string-like type
46 var isString = function (v) { return typeof v === 'string' || v instanceof String; };
47
48 // Helper function allows elements and string selectors to be used
49 // interchangeably. In either case an element is returned. This allows us to

Callers 2

elementOrSelectorFunction · 0.85
defaultElementStyleFnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected