Last updated:
0 purchases
runtime assert
runtime_assert
Features #
Kotlinと同様の実行時Assertを提供する.
Usage #
check(value == 1, 'Invalid value: $value'); // throws IllegalStateException
checkArgument(value == 1, 'Invalid argument: $value'); // throws IllegalArgumentException
checkFormat(value == 1, 'Invalid format: $value'); // throws FormatException
checkPlatform(value ==1, 'Invalid platform: $value'); // throws UnsupportedPlatformException
requireNotNul(value, 'value is null'); // throws IllegalStateException
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.