MCPcopy Index your code
hub / github.com/alibaba/lowcode-engine / isVariable

Function isVariable

packages/renderer-core/src/utils/common.ts:281–286  ·  view source on GitHub ↗
(obj: any)

Source from the content-addressed store, hash-verified

279 * @returns boolean
280 */
281export function isVariable(obj: any) {
282 if (!obj || Array.isArray(obj)) {
283 return false;
284 }
285 return typeof obj === 'object' && obj?.type === 'variable';
286}
287
288/**
289 * 将 i18n 结构,降级解释为对 i18n 接口的调用

Callers 2

BaseRendererClass · 0.90
common.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…