min


Description:

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

Example: Calculate the minimum via .min():

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

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