MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / getPropertiesFromMap

Function getPropertiesFromMap

packages/core/ui/core/properties/index.ts:147–155  ·  view source on GitHub ↗
(map)

Source from the content-addressed store, hash-verified

145}
146
147function getPropertiesFromMap(map): Property<any, any>[] | CssProperty<any, any>[] {
148 const symbols = Object.getOwnPropertySymbols(map);
149 const len = symbols.length;
150 const props = new Array(len);
151 for (let i = 0; i < len; i++) {
152 props[i] = map[symbols[i]];
153 }
154 return props;
155}
156
157export class Property<T extends ViewBase, U> implements TypedPropertyDescriptor<U>, Property<T, U> {
158 private registered: boolean;

Callers 2

_getPropertiesFunction · 0.85
_getStylePropertiesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected