A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://scala-lang.org/api/3.x/scala/Option$.html below:

Option

scala.Option

See theOption companion class Members list

An Option factory which creates Some(x) if the argument is not null, and None if it is null.

An Option factory which creates Some(x) if the argument is not null, and None if it is null.

Value parameters
x

the value

Attributes
Returns

Some(value) if value != null, None if value == null

Source
Option.scala

An Option factory which returns None in a manner consistent with the collections hierarchy.

An Option factory which returns None in a manner consistent with the collections hierarchy.

Attributes
Source
Option.scala

Unless a given condition is true, this will evaluate the a argument and return Some(a).

Unless a given condition is true, this will evaluate the a argument and return Some(a). Otherwise, a is not evaluated and None is returned.

Attributes
Source
Option.scala

When a given condition is true, evaluates the a argument and returns Some(a).

When a given condition is true, evaluates the a argument and returns Some(a). When the condition is false, a is not evaluated and None is returned.

Attributes
Source
Option.scala

An implicit conversion that converts an option to an iterable value

An implicit conversion that converts an option to an iterable value

Attributes
Source
Option.scala

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4