MCPcopy Index your code
hub / github.com/didi/mpx / isString

Function isString

packages/utils/src/base.js:3–5  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

1const noop = () => { }
2
3function isString (str) {
4 return typeof str === 'string'
5}
6
7function isBoolean (bool) {
8 return typeof bool === 'boolean'

Callers 10

attrMatchFunction · 0.90
doTestFunction · 0.90
compareParamsFunction · 0.90
doValidatorFunction · 0.90
setValidatorMethod · 0.90
watchMethod · 0.90
onUnhandledRejectionFunction · 0.90
genForFunction · 0.90
relativeToMethod · 0.90
observeMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected