Skip to content
Discussion options

You must be logged in to vote

No, the value function default only handles the case where the key isn't there, not when it's there but is a different type, and null is a type. If you have a case where it can be null, then you need to handle that manually. There isn't a built-in function that handles that case.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by 7Pawns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants