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

Module Either

Constructs an Either type that is a disjoint union of two types.

Import path

import codeql.util.Either

Predicates

left

Makes an Either from an instance of Left

right

Makes an Either from an instance of Right

Classes

Either

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

Parameters