IsIntegral
com.phasmidsoftware.number.expression.expr.IsIntegral
object IsIntegral
Provides a mechanism to determine whether an Expression can be represented as an integer value and, if so, extracts the corresponding integer value.
The IsIntegral object acts as an extractor, allowing pattern matching against Expression instances to identify those that represent whole numbers. This is particularly useful when working with complex expressions that may or may not simplify to integers.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
IsIntegral.type
Members list
In this article