Movatterモバイル変換


[0]ホーム

URL:


Scala 3
3.7.4
LearnInstallPlaygroundFind A LibraryCommunityBlog
Scala 3
LearnInstallPlaygroundFind A LibraryCommunityBlog
DocsAPI
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL
Scala 3/scala/scala.compiletime/scala.compiletime.ops/boolean

boolean

scala.compiletime.ops.boolean
objectboolean

Attributes

Source
boolean.scala
Graph
Supertypes
classObject
traitMatchable
classAny
Self type
boolean.type

Members list

Type members

Types

type![X <:Boolean] <:Boolean

Negation of aBoolean singleton type.

Negation of aBoolean singleton type.

import compiletime.ops.boolean.*val notFalse: ![false] = trueval notTrue: ![true] = false

Attributes

Source
boolean.scala
infixtype&&[X <:Boolean,Y <:Boolean] <:Boolean

Conjunction of twoBoolean singleton types.

Conjunction of twoBoolean singleton types.

import compiletime.ops.boolean.*val a: true && true = trueval b: false && true = false

Attributes

Source
boolean.scala
infixtype^[X <:Boolean,Y <:Boolean] <:Boolean

Exclusive disjunction of twoBoolean singleton types.

Exclusive disjunction of twoBoolean singleton types.

import compiletime.ops.boolean.*val a: true ^ true = falseval b: false ^ true = true

Attributes

Source
boolean.scala
infixtype||[X <:Boolean,Y <:Boolean] <:Boolean

Disjunction of twoBoolean singleton types.

Disjunction of twoBoolean singleton types.

import compiletime.ops.boolean.*val a: true || false = trueval b: false || false = false

Attributes

Source
boolean.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp