mirror of
https://github.com/zebrajr/react.git
synced 2025-12-07 00:20:28 +01:00
19 lines
402 B
JavaScript
19 lines
402 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow
|
|
*/
|
|
|
|
declare function isArray(a: mixed): boolean %checks(Array.isArray(a));
|
|
|
|
const isArrayImpl = Array.isArray;
|
|
|
|
function isArray(a: mixed): boolean {
|
|
return isArrayImpl(a);
|
|
}
|
|
|
|
export default isArray;
|