Opposite of nullish coalescing operator
To my knowledge, there is no such operator and also no proposal to add one. Instead you can rely on the standard way to check for nullish values: b == null a = b == null ? b : func(b)
To my knowledge, there is no such operator and also no proposal to add one. Instead you can rely on the standard way to check for nullish values: b == null a = b == null ? b : func(b)