Skip to content

Fix IMap.getKey() to return None() when a non-existent key is checked#124

Open
rich-j wants to merge 1 commit intospebbe:masterfrom
rich-j:master
Open

Fix IMap.getKey() to return None() when a non-existent key is checked#124
rich-j wants to merge 1 commit intospebbe:masterfrom
rich-j:master

Conversation

@rich-j
Copy link

@rich-j rich-j commented Sep 20, 2023

Using IMap.getKey() to check if a key exists should return None() if the key doesn't exist. Instead it was throwing "Null check operator used on a null value".

This fix basically copies the code from the value .get() method that does correctly return None()

… instead of throwing "Null check operator used on a null value".
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.

1 participant