NumberUnion

PackageReified.Constraint
What a numeric-property rule expects.

Specification

Kind
Union
Members
4
Examples
0
IsFiniteSignature
this.IsFinite
IsMultipleOfSignature
this.IsMultipleOf
MultipleOfSignature
MultipleOf divisor
FiniteSignature
Finite

Summary

NameSignatureSynopsis
Union cases
IsFinitethis.IsFiniteNo description available.
IsMultipleOfthis.IsMultipleOfNo description available.
MultipleOfMultipleOf divisorThe value is an exact multiple of the supplied divisor under the value type's own arithmetic.
FiniteFiniteThe value is neither infinite nor NaN.

Union cases

kind:member

IsFinite

this.IsFinite
Member

Returns

bool
kind:member

IsMultipleOf

this.IsMultipleOf
Member

Returns

bool
kind:member

MultipleOf

MultipleOf divisor
Member
The value is an exact multiple of the supplied divisor under the value type's own arithmetic.

Parameters

NameTypeDescription
divisorConstraintValue

Returns

unit
kind:member

Finite

Finite
Member
The value is neither infinite nor NaN.

Returns

unit