Skip to content

Commit a16cea3

Browse files
committed
Fix isObject check
1 parent bb9e0a2 commit a16cea3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/analytics/client/src/analytics_client/context_service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,5 +109,5 @@ export class ContextService {
109109
}
110110

111111
function isObject(value: unknown): value is Record<string, unknown> {
112-
return typeof value === 'object' || value !== null;
112+
return typeof value === 'object' && value !== null;
113113
}

0 commit comments

Comments
 (0)