Merge pull request #15792 from ltegman/ember-isBlank

Add Ember isBlank and isPresent
This commit is contained in:
Ryan Cavanaugh
2017-04-17 11:59:33 -07:00
committed by GitHub

View File

@@ -2392,11 +2392,13 @@ declare namespace Ember {
function inspect(obj: any): string;
function instrument(name: string, payload: any, callback: Function, binding: any): void;
function isArray(obj: any): boolean;
function isBlank(obj: any): boolean;
function isEmpty(obj: any): boolean;
function isEqual(a: any, b: any): boolean;
function isGlobalPath(path: string): boolean;
const isNamespace: boolean;
function isNone(obj: any): boolean;
function isPresent(obj: any): boolean;
function isPrototypeOf(obj: {}): boolean;
function isWatching(obj: any, key: string): boolean;
function keys(obj: any): any[];