UNPKG

@tokens-studio/graph-engine

Version:

An execution engine to handle Token Studios generators and resolvers

13 lines 272 B
export const extractArray = (schema) => { if (schema.type === 'array') { return schema.items; } return schema; }; export const arrayOf = (schema) => { return { type: 'array', items: schema }; }; //# sourceMappingURL=utils.js.map