UNPKG

react-carousel-query

Version:

A infinite carousel component made with react that handles the pagination for you.

15 lines (14 loc) 325 B
import { parse } from './acornParser'; import { InspectionType } from './types'; export function inspectValue(value) { try { const parsingResult = parse(value); return Object.assign({}, parsingResult); } catch (e) {// do nothing. } return { inferredType: { type: InspectionType.UNKNOWN } }; }