张钢
2024-08-25 8962dc18a57681c9b597836be0d842f3f20e74bf
1
export const isArray = (() => Array.isArray || (<T>(x: any): x is T[] => x && typeof x.length === 'number'))();