Sha256: ca8c5fe96b13ae79b0bff0886597675fbbbb23525ae2317609248c852be78119

Contents?: true

Size: 102 Bytes

Versions: 51

Compression:

Stored size: 102 Bytes

Contents

export const isArray = Array.isArray || (<T>(x: any): x is T[] => x && typeof x.length === 'number');

Version data entries

51 entries across 49 versions & 4 rubygems

Version Path
govuk_publishing_components-16.21.0 node_modules/rxjs/src/util/isArray.ts
govuk_publishing_components-16.20.1 node_modules/rxjs/src/util/isArray.ts
govuk_publishing_components-16.20.0 node_modules/rxjs/src/util/isArray.ts
govuk_publishing_components-16.19.0 node_modules/rxjs/src/util/isArray.ts
govuk_publishing_components-16.18.0 node_modules/rxjs/src/util/isArray.ts
govuk_publishing_components-16.17.0 node_modules/rxjs/src/util/isArray.ts
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/rxjs/src/internal/util/isArray.ts
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/inquirer/node_modules/rxjs/src/util/isArray.ts
locomotivecms-3.4.0 app/javascript/node_modules/rxjs/src/util/isArray.ts
locomotivecms-3.4.0 app/javascript/node_modules/listr/node_modules/rxjs/src/internal/util/isArray.ts
dragonfly_puppeteer-0.1.0 node_modules/rxjs/src/util/isArray.ts