MCPcopy
hub / github.com/midrender/revideo / getPropertyMeta

Function getPropertyMeta

packages/2d/src/lib/decorators/signal.ts:31–36  ·  view source on GitHub ↗
(
  object: any,
  key: string | symbol,
)

Source from the content-addressed store, hash-verified

29const PROPERTIES = Symbol.for('@revideo/2d/decorators/properties');
30
31export function getPropertyMeta<T>(
32 object: any,
33 key: string | symbol,
34): PropertyMetadata<T> | null {
35 return object[PROPERTIES]?.[key] ?? null;
36}
37
38export function getPropertyMetaOrCreate<T>(
39 object: any,

Callers 7

originSignalFunction · 0.90
initialFunction · 0.85
interpolationFunction · 0.85
parserFunction · 0.85
wrapperFunction · 0.85
cloneableFunction · 0.85
inspectableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected