UNPKG

react-carousel-query

Version:

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

14 lines (11 loc) 266 B
"use strict"; var type = require("type-detect"); /** * Returns the lower-case result of running type from type-detect on the value * * @param {*} value * @returns {string} */ module.exports = function typeOf(value) { return type(value).toLowerCase(); };