Skip to main content

true

Laurence MorganLess than 1 minute

true

Returns a true value

Description

Returns a true value.

Usage

true -> <stdout>

Examples

By default, true also outputs the term "true":

» true
true

However you can suppress that with the silent flag:

» true -s

Flags

  • -s silent - don't output the term "true"

See Also

  • ! (not): Reads the STDIN and exit number from previous process and not's it's condition
  • and: Returns true or false depending on whether multiple conditions are met
  • false: Returns a false value
  • if: Conditional statement to execute different blocks of code depending on the result of the condition
  • or: Returns true or false depending on whether one code-block out of multiple ones supplied is successful or unsuccessful.

This document was generated from builtins/core/typemgmt/types_doc.yamlopen in new window.

Last update:
Contributors: Laurence Morgan,Laurence Morgan,Laurence