MCPcopy Create free account
hub / github.com/microsoft/SandDance / isString

Function isString

docs/app/js/sanddance-app.js:107020–107022  ·  view source on GitHub ↗
(_)

Source from the content-addressed store, hash-verified

107018 return Object.prototype.toString.call(_) === "[object RegExp]";
107019}
107020function isString(_) {
107021 return typeof _ === "string";
107022}
107023function key(fields, flat, opt) {
107024 if (fields) fields = flat ? array(fields).map((f)=>f.replace(/\\(.)/g, "$1")) : array(fields);
107025 const len = fields && fields.length, gen = opt && opt.get || getter, map = (f)=>gen(flat ? [

Callers 1

$Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected