fix(facade/lang): use strict equality for performance

This commit is contained in:
Tobias Bosch 2014-10-28 14:45:50 -07:00
parent 2ab526e88b
commit cc115d58ca
1 changed files with 2 additions and 2 deletions

View File

@ -12,11 +12,11 @@ export class IMPLEMENTS {}
export function isPresent(obj):boolean {
return obj != undefined && obj != null;
return obj !== undefined && obj !== null;
}
export function isBlank(obj):boolean {
return obj == undefined || obj == null;
return obj === undefined || obj === null;
}
export function stringify(token):string {