createNativeFunctionTypeWithVarArgs(NO_TYPE, ALL_TYPE); registerNativeType(JSTypeNative.LEAST_FUNCTION_TYPE, LEAST_FUNCTION_TYPE); createNativeFunctionTypeWithVarArgs(ALL_TYPE, NO_TYPE); registerNativeType(JSTypeNative.GREATEST_FUNCTION_TYPE, GREATEST_FUNCTION_TYPE);
FunctionType leastFunctionType = createNativeFunctionTypeWithVarArgs(noType, allType); registerNativeType(JSTypeNative.LEAST_FUNCTION_TYPE, leastFunctionType); FunctionType greatestFunctionType = createNativeFunctionTypeWithVarArgs(allType, noType); registerNativeType(JSTypeNative.GREATEST_FUNCTION_TYPE, greatestFunctionType);