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

public final class FnHasChildren extends Object
/** Implements fn:has-children functions.
  • Method Details

    • fnHasChildren

      public static boolean fnHasChildren(@NonNull INodeItem arg)
      Determine if the provided node argument has model item children.

      Based on the XPath 3.1 fn:has-children function.

      Parameters:
      arg - the node item to check for children
      Returns:
      true if the provided node has model item children, or false otherwise