Skip to content

Conversation

Goooler
Copy link
Contributor

@Goooler Goooler commented Jan 12, 2025

No description provided.

@Goooler Goooler force-pushed the add-contains-key-for-map branch from e4b62ee to d925b4c Compare January 15, 2025 08:42
@jzbrooks
Copy link
Collaborator

The key assertion does this. What's the value add?

@Goooler
Copy link
Contributor Author

Goooler commented Jan 25, 2025

@jzbrooks
Copy link
Collaborator

The key assertion asserts that the map contains a key and transforms the assert into an assertion on the value. You don't have to use the latter part of that functionality if you don't want to. The former does the same thing the proposed assertion does.

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

Successfully merging this pull request may close these issues.

2 participants