UNPKG

theta-client-react-native

Version:

This library provides a way to control RICOH THETA using.

7 lines 283 B
/** * Type guard to check if a value is promise-like (has a `then` method). */ export function isPromiseLike(value) { return value != null && (typeof value === 'object' || typeof value === 'function') && typeof value.then === 'function'; } //# sourceMappingURL=type-guards.js.map