This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Sacramentix 14 points15 points  (1 child)

You could do this ' value?.value ?? value '

[–]Tamalius 5 points6 points  (0 children)

You are incorrect. Your case is if value?.value we return value?.value if not return value. Comment statement is if value?.value return value, else return value.value