Home
last modified time | relevance | path

Searched refs:theClass (Results 1 – 1 of 1) sorted by relevance

/development/tools/winscope/spec/utils/
Dtree.js44 function toPlainObject(theClass) { argument
45 if (isPrimitive(theClass)) {
46 return theClass;
47 } else if (Array.isArray(theClass)) {
48 return theClass.map(item => toPlainObject(item));
50 const keys = Object.getOwnPropertyNames(Object.assign({}, theClass));
52 classAsObj[key] = toPlainObject(theClass[key]);