com.phasmidsoftware.number.core.inner.NthRoot
See theNthRoot companion class
Represents the companion object for the NthRoot class.
Provides utility functionality related to NthRoot, including methods for matching and extracting values from instances of the NthRoot type.
Attributes
- Companion
-
class
- Graph
-
- Supertypes
-
class Object
trait Matchable
class Any
- Self type
-
Members list
Extracts the root integer value encapsulated in the given NthRoot instance.
Extracts the root integer value encapsulated in the given NthRoot instance.
Value parameters
- r
-
the NthRoot instance from which the integer value is to be extracted.
Attributes
- Returns
-
an Option containing the root integer if extraction is successful, or None if not.