Skip to content

Commit

Permalink
added isBetween() function body
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelGunawan committed Oct 14, 2024
1 parent d9ad11a commit f65933c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/tcframe/validator/number.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace tcframe {

bool isBetween(long long N, long long mn, long long mx) {
return N >= mn && N <= mx;
}

}

0 comments on commit f65933c

Please sign in to comment.