MCPcopy
hub / github.com/alibaba/lowcode-engine / isString

Function isString

packages/renderer-core/src/utils/common.ts:272–274  ·  view source on GitHub ↗
(str: any)

Source from the content-addressed store, hash-verified

270 * @returns boolean
271 */
272export function isString(str: any): boolean {
273 return {}.toString.call(str) === '[object String]';
274}
275
276/**
277 * check if obj is type of variable structure

Callers 3

common.test.tsFile · 0.90
capitalizeFirstLetterFunction · 0.70
forEachFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…