react-carousel-query
Version:
A infinite carousel component made with react that handles the pagination for you.
14 lines (9 loc) • 326 B
JavaScript
;
var $StringValueOf = require('call-bind/callBound')('String.prototype.valueOf');
// https://262.ecma-international.org/6.0/#sec-properties-of-the-string-prototype-object
module.exports = function thisStringValue(value) {
if (typeof value === 'string') {
return value;
}
return $StringValueOf(value);
};