Class FunctionCoercion

java.lang.Object
org.rumbledb.runtime.functions.FunctionCoercion

public final class FunctionCoercion extends Object
  • Method Details

    • canBeFunctionCoercedTo

      public static boolean canBeFunctionCoercedTo(SequenceType sourceType, SequenceType targetType)
    • canItemTypeBeFunctionCoercedTo

      public static boolean canItemTypeBeFunctionCoercedTo(ItemType sourceItemType, ItemType targetItemType)
    • coerceToFunctionItem

      public static Item coerceToFunctionItem(Item item, ItemType targetItemType, RuntimeStaticContext staticContext, String exceptionMessage)