Skip to content

Commit

Permalink
clean up diff
Browse files Browse the repository at this point in the history
  • Loading branch information
sdotson committed Jan 7, 2022
1 parent 1e7a540 commit b90a57f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ is.buffer = (value: unknown): value is Buffer => (value as any)?.constructor?.is

is.nullOrUndefined = (value: unknown): value is null | undefined => is.null_(value) || is.undefined(value);
is.object = (value: unknown): value is object => !is.null_(value) && (typeof value === 'object' || is.function_(value));

is.iterable = <T = unknown>(value: unknown): value is Iterable<T> => is.function_((value as Iterable<T>)?.[Symbol.iterator]);
is.asyncIterable = <T = unknown>(value: unknown): value is AsyncIterable<T> => is.function_((value as AsyncIterable<T>)?.[Symbol.asyncIterator]);

Expand Down

0 comments on commit b90a57f

Please sign in to comment.