rl_lang/docs/entries/concepts/nulls/
mod.rs1use crate::docs::entry::{ConceptCategory, ConceptEntry, DescriptionEntry, DescriptionKind};
2
3pub static NULL: ConceptEntry = ConceptEntry {
4 name: "null",
5 summary: "",
6 category: ConceptCategory::Types,
7 prerequisites: &[],
8 descriptions: &[DescriptionEntry {
9 kind: DescriptionKind::Explanation,
10 title: None,
11 description: "`null` represents the absence of a value also functions that return nothing implicitly return null",
12 examples: &[
13 "dec int x = null // x holds null",
14 "fn do_nothing() {\n // implicitly returns null\n}",
15 ],
16 expected_output: &[],
17 }],
18 pitfalls: &[],
19 related: &[],
20 related_stdlib: &[],
21 since: None,
22};