content/flux/v0/stdlib/internal/debug/null.md
debug.null() returns the null value with a given type.
(?type: string) => A where A: Basic
{{% caption %}} For more information, see Function type signatures. {{% /caption %}}
Null type.
Supported types:
import "array"
import "internal/debug"
array.from(rows: [{a: 1, b: 2, c: 3}, {a: debug.null(type: "int"), b: 5, c: 6}])
{{< expand-wrapper >}} {{% expand "View example output" %}}
| a | b | c |
|---|---|---|
| 1 | 2 | 3 |
| 5 | 6 |
{{% /expand %}} {{< /expand-wrapper >}}