Require differs from check only in the kind of exception it throws, which is an IllegalArgumentException instead of an IllegalStateException:
require(str.length > 5)
{ "Minimum length is 5" }
Require differs from check only in the kind of exception it throws, which is an IllegalArgumentException instead of an IllegalStateException:
require(str.length > 5)
{ "Minimum length is 5" }
18.117.105.190