github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/docs/commands/devnull.md (about) 1 # `null` 2 3 > null function. Similar to /dev/null 4 5 ## Description 6 7 `null` is a function that acts a little like the `null` data type and the 8 UNIX /dev/null device. 9 10 ## Usage 11 12 ``` 13 <stdin> -> null 14 ``` 15 16 ## Examples 17 18 ``` 19 » out "Hello, world!" -> null 20 ``` 21 22 ## Detail 23 24 While this method does exist, a more idiomatic way to suppress STDOUT is to 25 use the named pipe property rather than piping to null: 26 27 ``` 28 » out <null> "Hello, world!" 29 ``` 30 31 ## Synonyms 32 33 * `null` 34 35 36 ## See Also 37 38 * [`break`](../commands/break.md): 39 Terminate execution of a block within your processes scope 40 * [`die`](../commands/die.md): 41 Terminate murex with an exit number of 1 42 * [`exit`](../commands/exit.md): 43 Exit murex 44 45 <hr/> 46 47 This document was generated from [builtins/core/typemgmt/types_doc.yaml](https://github.com/lmorg/murex/blob/master/builtins/core/typemgmt/types_doc.yaml).