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

Function isVariable

packages/utils/src/misc.ts:15–20  ·  view source on GitHub ↗
(obj: any)

Source from the content-addressed store, hash-verified

13}
14
15export function isVariable(obj: any): obj is Variable {
16 if (!obj || typeof obj !== 'object') {
17 return false;
18 }
19 return obj.type === 'variable';
20}
21
22export function isUseI18NSetter(prototype: any, propName: string) {
23 const configure = prototype?.options?.configure;

Callers 3

misc.test.tsFile · 0.90
compatibleLegaoSchemaFunction · 0.90
upgradePropsReducerFunction · 0.50

Calls

no outgoing calls

Tested by 1

upgradePropsReducerFunction · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…