Keywords
Bramble Language Keywords
Operators
Name | Description |
---|---|
null |
Represents a null reference or address. A reference that does not point to any location in memory |
null
null
represents a raw pointer value that does not point to any location in memory.
This is used to initialize a raw pointer with a placeholder value,
when it is not yet known where the pointer should point.
null
is also used to check if a pointer points to a valid location
in memory or not. For managing heap allocated memory, null
can
be used to check if memory has been allocated on the heap or not.
null
can be used for initialization, mutation, or comparison
operators, but not for any other operation.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified February 10, 2022: Documentation for equality and ordering operators (05cf9a6)