Skip to content

Commit d64cd45

Browse files
committed
Add generic version of Array.isArray
1 parent 0fde58d commit d64cd45

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/typings/lib.array-ext.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
6+
interface ArrayConstructor {
7+
isArray<T>(arg: any): arg is Array<T>;
8+
}

0 commit comments

Comments
 (0)