Skip to content

cotrTypesBoolTrue

The C++ true boolean value.

Aliases:

  • cotrTypesBoolTrue
  • true
  • booleanTrue
  • on

cpp

true

csharp

true

dart

true

go

true

haskell

True

java

true

javascript

true;

javascriptreact

true;

kotlin

true

perl

1

php

true

powershell

Terminal window
true

python

True

r

TRUE

ruby

true

rust

true

scala

true

shellscript

Terminal window
# Bash represents true as any non-zero value.

swift

true

typescript

true

typescriptreact

true