mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 14:31:31 +01:00
Add generic version of Array.isArray
This commit is contained in:
8
src/typings/lib.array-ext.d.ts
vendored
Normal file
8
src/typings/lib.array-ext.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
interface ArrayConstructor {
|
||||
isArray<T>(arg: any): arg is Array<T>;
|
||||
}
|
||||
Reference in New Issue
Block a user