private boolean hasUntypedArguments(ExpressionFunction function) {
        return function.arguments().size() > function.argumentTypes().size();
    }
Resolves the types of all functions in the given profile

@throws IllegalArgumentException if validate is true and the given rank profile does not produce valid types
config-model/src/main/java/com/yahoo/schema/processing/RankingExpressionTypeResolver.java