CodeQL library for C#
codeql/csharp-all 1.0.3-dev (changelog, source)
Search

Class Option::Option

An option type. This is either a singleton None or a Some wrapping the given type.

Import path

import codeql.util.Option

Direct supertypes

Known direct subtypes

Predicates

asSome

Gets the wrapped element, if any.

isNone

Holds if this option is the singleton None.

toString

Gets a textual representation of this element.