Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 524 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 524 Bytes

Pub

Overview

A powerfull lib to creante and compare a number in ranges

Whats MS_Range do?

Generate a range of two numbers and providers methods to check if a number is in this range.

Usage

Create a new Range instance:

import 'package:ms_range/ms_range.dart';

Range range = Range(1, 6);

Call some methods of range to do hard work:

range.isInRange(2); // true
range.list; // [1, 2, 3, 4, 5, 6]