Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Unified Diff: lib/core/num.dart

Issue 11227042: isEven, isOdd, isNegative, isMaxValue, isMinValue, isInfinite, isPositive, isSingleValue. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lib/core/num.dart
diff --git a/lib/core/num.dart b/lib/core/num.dart
index 6bcee5971d90170fd0da67d686e076b709e385a3..a506adebdd290c88ef9a7aedb2cf27c1a124f3d0 100644
--- a/lib/core/num.dart
+++ b/lib/core/num.dart
@@ -49,11 +49,11 @@ abstract class num implements Comparable {
/** Relational greater than or equal operator. */
bool operator >=(num other);
- bool isNaN();
+ bool get isNaN;
- bool isNegative();
+ bool get isNegative;
- bool isInfinite();
+ bool get isInfinite;
/** Returns the absolute value of this [num]. */
num abs();
« lib/core/int.dart ('K') | « lib/core/int.dart ('k') | lib/math/base.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698