min


Description:

public static int min (int a, int b)

Example: Calculate the minimum via .min():

public static int main (string[] args) {
// Output: ``min ('100, 900) = 100``
int min = int.min (100, 900);
print ("min (100, 900) = %d\n", min);
return 0;
}

valac --pkg glib-2.0 int.min.vala