Closed Kalanithi96 closed 1 year ago
This solves issue #1028
The current implementation of Min and Max function for a Range:
This branch utilizes the following structure of a Range to return min and max:
var TRange = types.TRange = function(range) { this.value = range; if(this.value!==undefined) { this.start = this.value[0]; this.end = this.value[1]; this.step = this.value[2]; this.size = Math.floor((this.end-this.start)/this.step); } }
The Minimum of a TRange range is range[0] and The Maximum of a TRange range is range[1]
TRange range
range[0]
range[1]
Hi @christianp This is my first contribution. Could you advice me on how to proceed here?
This looks great, thanks! You've done everything you need to do. I've merged it in and added some unit tests.
This solves issue #1028
The current implementation of Min and Max function for a Range:
This branch utilizes the following structure of a Range to return min and max:
The Minimum of a
TRange range
isrange[0]
and The Maximum of aTRange range
isrange[1]