min


Description:

[ CCode ( cname = "MIN" ) ]
public static char min (char a, char b)

Example: Calculate the minimum via .min():

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

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