← isnull operator page · comparison/isnull/sc/null_literal

Null literal 🟢 all ok

pandas ✅ · DuckDB ✅

Tests:

isnull(null): the null literal.

Manual:

Is null, semantics for scalar operations: "isnull(null) gives true".

Expected:

SC_r = true, a Boolean: the operand is null.

script.vtl ⇩

SC_r := isnull(null);

expected/scalars.json ⇩

{
  "scalars": [
    {"name": "SC_r", "type": "Boolean", "value": true}
  ]
}