1. /**
    
  2.  * Copyright (c) Meta Platforms, Inc. and affiliates.
    
  3.  *
    
  4.  * This source code is licensed under the MIT license found in the
    
  5.  * LICENSE file in the root directory of this source tree.
    
  6.  *
    
  7.  * @flow
    
  8.  */
    
  9. 
    
  10. declare function isArray(a: mixed): boolean %checks(Array.isArray(a));
    
  11. 
    
  12. const isArrayImpl = Array.isArray;
    
  13. 
    
  14. // eslint-disable-next-line no-redeclare
    
  15. function isArray(a: mixed): boolean {
    
  16.   return isArrayImpl(a);
    
  17. }
    
  18. 
    
  19. export default isArray;