Rebase branch

This commit is contained in:
arturovt 2018-07-09 11:58:32 +03:00
parent 89475f5a82
commit b70b48d973
2 changed files with 0 additions and 17 deletions

View file

@ -137,7 +137,6 @@ namespace is { // tslint:disable-line:no-namespace
export const nullOrUndefined = (value: any): value is null | undefined => null_(value) || undefined(value);
export const object = (value: any): value is object => !nullOrUndefined(value) && (function_(value) || isObject(value));
export const iterable = (value: any): value is IterableIterator<any> => !nullOrUndefined(value) && function_(value[Symbol.iterator]);
export const asyncIterable = (value: any): value is AsyncIterableIterator<any> => !nullOrUndefined(value) && function_(value[Symbol.asyncIterator]);
export const generator = (value: any): value is Generator => iterable(value) && function_(value.next) && function_(value.throw);
export const nativePromise = (value: any): value is Promise<any> =>