Null?: Difference between revisions
no edit summary
(supported in) |
No edit summary |
||
Line 3:
|not=k3, kona, k7, k9}}
The '''null''' primitive returns a value indicating whether its argument is a null value or not. It is [[atomicity|right atomic]].
Each atomic type has a distinguished null value used to represent missing data.
* Integer: <code>0N</code>▼
{| class="wikitable"
* Float: <code>0n</code>▼
! rowspan="2" |Type
* Character: <code>" "</code>▼
! colspan="4" |Null
* Symbol: <code>`</code>▼
|-
!oK
!k7
!k9
!other
|-
|int
|<code>0</code>||<code>0N</code>
|-
|float
|<code>ø</code>
|<code>0.0</code>|| <code>0n</code>
|-
|char
|-
|symbol
|-
|function
|N/A
| colspan="2" |''special''
''value''
''of type <code>`</code>''
|<code>[[Identity function|::]]</code>
|}
<pre>
|