CodeQL library for Java/Kotlin
codeql/java-all 4.2.1-dev (changelog, source)
Search

Class Either::Either

An either type. This is either a Left or a Right wrapping the given type.

Import path

import codeql.util.Either

Direct supertypes

Predicates

asLeft

Gets the element, if this is a Left.

asRight

Gets the element, if this is a Right.

toString

Gets a textual representation of this element.