In the if statement, we say x! = Null and read it as 'x is not null'. In the function name that you want to say "NotNull" or "IsNotNull", it feels a little more complicated. Is there one word that means to be in a state that is "not null"?
The best that I can guess so far is “initialized,” and I feel that this is a terrible word because it is too long. b) you can “initialize” something to zero. Another word that I have considered and reject is “something,” because it is too vague. And I did not like NotNull, because these are two words, and it looks like a double negative.
(If there is no such word, then I think we should create it, and your suggestions are also welcome as answers. :)
Edit: on the contrary, the value null, I mean that the word should be useful for describing the state of a variable, and with this use, the value of the variable can be anything except, of course, zero.
source share