Skip to content

cotrTypesBool

The R logical type.

Aliases:

  • cotrTypesBool
  • booleanType
  • typeBool

cpp

bool

csharp

bool

dart

bool

go

bool

haskell

Bool

java

boolean

javascript

let flag = Boolean1);

javascriptreact

let flag = Boolean1);

kotlin

Boolean

perl

# Perl uses 1 and 0 for boolean values.

php

bool

powershell

Terminal window
[bool]

python

bool

r

logical

ruby

# Ruby uses true and false for boolean values.

rust

bool

scala

Boolean

shellscript

Terminal window
# Bash uses 0 for false and non-zero values for true.

swift

Bool

typescript

boolean

typescriptreact

boolean