@designliquido/xpath
    Preparing search index...

    Function canPromoteNumeric

    • Check if one numeric type can be promoted to another Promotion only goes upward: integer → decimal → float → double

      Parameters

      Returns boolean

      true if fromType can be promoted to toType