Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isEquals(null, null) throws error #43

Open
krasnoperov opened this issue Sep 22, 2022 · 2 comments
Open

isEquals(null, null) throws error #43

krasnoperov opened this issue Sep 22, 2022 · 2 comments

Comments

@krasnoperov
Copy link

export const isEqual = (obj1: any, obj2: any): boolean => {

In my case, Amplitude-Typescript calls this function with null for userId (even though it was initialized with undefined)

@bgiori
Copy link
Collaborator

bgiori commented Sep 22, 2022

Hi @krasnoperov, which version of the analytics SDK are you using?

@bgiori
Copy link
Collaborator

bgiori commented Sep 26, 2022

I think this was already solved here? #41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants