Class IsNaN

All Implemented Interfaces:
Callable, FunctionItem, GroundedValue, Item, Sequence

public class IsNaN extends SystemFunction
Implements the saxon:is-NaN() function. Returns true if the supplied argument is NaN. Also available as experimental XPath 4.0 function fn:is-NaN().
  • Constructor Details

    • IsNaN

      public IsNaN()
  • Method Details

    • call

      public BooleanValue call(XPathContext context, Sequence[] arguments) throws XPathException
      Evaluate this function call
      Parameters:
      context - The XPath dynamic evaluation context
      arguments - The values of the arguments to the function call. Each argument value (which is in general a sequence) is supplied in the form of a sequence.
      Returns:
      the results of the function.
      Throws:
      XPathException - if a dynamic error occurs during evaluation of the function. The Saxon run-time code will add information about the error location.