MCPcopy Create free account
hub / github.com/teambit/bit / isString

Function isString

src/utils/string/is-string.ts:12–14  ·  view source on GitHub ↗
(val: any)

Source from the content-addressed store, hash-verified

10 * ```
11 */
12export default function isString(val: any): val is string {
13 return typeof val === 'string';
14}

Callers 6

packFunction · 0.90
formatMethod · 0.90
getVersionMethod · 0.90
build-component.tsFile · 0.90
isValidIdChunkFunction · 0.50
isValidScopeNameFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected