Category:Wren-check: Difference between revisions

Change to blurb following addition of SafeInt and SafeInts classes.
(Change to blurb following addition of Benchmark class.)
(Change to blurb following addition of SafeInt and SafeInts classes.)
Line 1:
{{library}}
'''Wren-check''' is a module which enables one to check that a Wren value (usually a method or function argument) is of a given type or types and, where possible, within a given range of values. It can also check whether a more general condition is met, check that integer arithmetic is 'safe' (within the ± 2^53 limit) and report on the time taken to run a piece of code. It consists of a twofour classes,: Check, SafeInt, SafeInts and Benchmark, whose methods are all static.
 
It is the twenty-seventh in a series of modules (listed on the language's [https://rosettacode.org/wiki/Category:Wren main page]) designed to assist with writing Rosetta Code tasks so the same code does not have to be written or copy/pasted time and time again thereby bloating a task's script code unnecessarily.
9,476

edits