MCPcopy Index your code
hub / github.com/microsoft/SandDance / parsePropTypes

Function parsePropTypes

docs/app/js/sanddance-app.js:68384–68392  ·  view source on GitHub ↗
(propDefs)

Source from the content-addressed store, hash-verified

68382 }
68383};
68384function parsePropTypes(propDefs) {
68385 var propTypes = {};
68386 for(var propName in propDefs){
68387 var propDef = propDefs[propName];
68388 var propType = parsePropType(propDef);
68389 propTypes[propName] = propType;
68390 }
68391 return propTypes;
68392}
68393function parsePropType(propDef) {
68394 var type = getTypeOf(propDef);
68395 if (type === "object") {

Callers

nothing calls this directly

Calls 1

parsePropTypeFunction · 0.70

Tested by

no test coverage detected