fix(facade/lang): use strict equality for performance
This commit is contained in:
parent
2ab526e88b
commit
cc115d58ca
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue