UNPKG

react-metrics

Version:

An analytics library for React.js

5 lines (4 loc) 134 B
// to support Promise-like object. export default function isPromise(value) { return value && typeof value.then === "function"; }