github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/docs/commands/true.md (about) 1 # `true` 2 3 > Returns a `true` value 4 5 ## Description 6 7 Returns a `true` value. 8 9 ## Usage 10 11 ``` 12 true -> <stdout> 13 ``` 14 15 ## Examples 16 17 By default, `true` also outputs the term "true": 18 19 ``` 20 » true 21 true 22 ``` 23 24 However you can suppress that with the silent flag: 25 26 ``` 27 » true -s 28 ``` 29 30 ## Flags 31 32 * `-s` 33 silent - don't output the term "true" 34 35 ## See Also 36 37 * [`!` (not)](../parser/not-func.md): 38 Reads the STDIN and exit number from previous process and not's it's condition 39 * [`and`](../commands/and.md): 40 Returns `true` or `false` depending on whether multiple conditions are met 41 * [`false`](../commands/false.md): 42 Returns a `false` value 43 * [`if`](../commands/if.md): 44 Conditional statement to execute different blocks of code depending on the result of the condition 45 * [`or`](../commands/or.md): 46 Returns `true` or `false` depending on whether one code-block out of multiple ones supplied is successful or unsuccessful. 47 48 <hr/> 49 50 This document was generated from [builtins/core/typemgmt/types_doc.yaml](https://github.com/lmorg/murex/blob/master/builtins/core/typemgmt/types_doc.yaml).