java.lang.Object
dev.metaschema.core.metapath.function.library.FnExists

public final class FnExists extends Object
Implements the XPath 3.1 fn:exists function.
  • Method Details

    • fnExists

      public static IBooleanItem fnExists(ISequence<?> sequence)
      Identify if there is at least one item in the sequence.
      Parameters:
      sequence - the sequence to check
      Returns:
      true if the sequence contains at least one item, or false otherwise