UNPKG

graphql-transformer-core

Version:

A framework to transform from GraphQL SDL to AWS cloudFormation.

16 lines 351 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function getIn(obj, path) { let val = obj; for (const elem of path) { if (val[elem]) { val = val[elem]; } else { return null; } } return val; } exports.default = getIn; //# sourceMappingURL=getIn.js.map