@sentry/react-native
Version:
Official Sentry SDK for react-native
11 lines (10 loc) • 384 B
TypeScript
import type { Client } from '@sentry/core';
/**
* Checks if the provided Sentry client has hooks implemented.
* @param client The Sentry client object to check.
* @returns True if the client has hooks, false otherwise.
*/
export declare function hasHooks(client: Client): client is Client & {
on: Required<Client>['on'];
};
//# sourceMappingURL=clientutils.d.ts.map