Boolean

From ComputerCraft
(Redirected from True)
Jump to: navigation, search

Boolean is a type that allows variables to have the values true and false,[1] and is therefore used to represent truth. Control statements such as if, while, and repeat until accept boolean expressions, which they use to decide whether or not they will execute their bodies.[2]

References

  1. Ierusalimschy, Roberto (March 2006). Programming in Lua. p. 29. ISBN 8590379825. 
  2. Ierusalimschy, Roberto (March 2006). Programming in Lua. p. 49-50. ISBN 8590379825.