If the given value represents one specific long value then the function
ifThen is called with the respective value otherwise
orElse is called.
Returns the current
Long value represented by the domain value if it exists.
This method returns
None if the DomainValue does not represent a
Long value or the precise value is not known. I.e., this method never fails.