Skip to content

Commit e21ca72

Browse files
authored
Merge pull request #102 from Maquert/master
Make Sentry.isNativeClientAvailable a boolean function
2 parents ed17b4e + 3ec3c79 commit e21ca72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sentry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export class Sentry {
8585
}
8686

8787
static isNativeClientAvailable() {
88-
return Sentry._nativeClient;
88+
return Sentry._nativeClient !== undefined;
8989
}
9090

9191
static crash() {

0 commit comments

Comments
 (0)