allow only values <= value value the maximum value
value
IntType max(int value) { test<int>( type: int, name: "max", params: { "max": value }, check: (obj) => obj <= value, ); return this; }