IsInfinite

com.phasmidsoftware.number.algebra.eager.IsInfinite
object IsInfinite

Provides a utility for extracting infinite values from an Eager instance.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
IsInfinite.type

Members list

Value members

Concrete methods

def unapply(x: Eager): Option[Eager]

Returns Some(x) if this is infinite.

Returns Some(x) if this is infinite.

Value parameters

x

the Eager instance to be matched and extracted.

Attributes

Returns

an Option containing the extracted Number if the input matches the expected pattern, or None otherwise.