feat(Change Detection): Add support for keyed access
This commit is contained in:
@ -109,6 +109,8 @@ class NumberWrapper {
|
||||
static get NaN => double.NAN;
|
||||
|
||||
static bool isNaN(num value) => value.isNaN;
|
||||
|
||||
static bool isInteger(value) => value is int;
|
||||
}
|
||||
|
||||
class RegExpWrapper {
|
||||
@ -161,4 +163,4 @@ dynamic getMapKey(value) {
|
||||
|
||||
normalizeBlank(obj) {
|
||||
return isBlank(obj) ? null : obj;
|
||||
}
|
||||
}
|
||||
|
@ -136,6 +136,10 @@ export class NumberWrapper {
|
||||
static get NaN():number {
|
||||
return NaN;
|
||||
}
|
||||
|
||||
static isInteger(value):boolean {
|
||||
return Number.isInteger(value);
|
||||
}
|
||||
}
|
||||
|
||||
export function int() {};
|
||||
@ -197,4 +201,4 @@ export function getMapKey(value) {
|
||||
|
||||
export function normalizeBlank(obj) {
|
||||
return isBlank(obj) ? null : obj;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user