UNPKG

react-klasha

Version:

This is an reactJS library for implementing klasha payment gateway

11 lines (9 loc) 276 B
/** * Converts array-like (numerical indicies and `length` property) structures to actual, real arrays * @param {Mixed} thing Array-like thing to convert * @return {Array} */ function toArray(thing) { return Array.prototype.slice.call(thing); } export default toArray;