Skip to content
This repository was archived by the owner on Dec 25, 2021. It is now read-only.

use comparator operator, not 'is' operator#20

Open
MikeSE314 wants to merge 1 commit into
savagezen:masterfrom
MikeSE314:master
Open

use comparator operator, not 'is' operator#20
MikeSE314 wants to merge 1 commit into
savagezen:masterfrom
MikeSE314:master

Conversation

@MikeSE314

Copy link
Copy Markdown

Got a warning, tested this out. Should be using ==, not is. The is checks if two instances are the same instance. The == checks if two values are the same, which is usually what you want.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant