mirror of
https://github.com/github/codeql-action.git
synced 2025-12-26 17:20:10 +08:00
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com> Co-authored-by: Henry Mercer <henrymercer@github.com>
10 lines
279 B
JavaScript
10 lines
279 B
JavaScript
'use strict';
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = isArrayLike;
|
|
function isArrayLike(value) {
|
|
return value && typeof value.length === 'number' && value.length >= 0 && value.length % 1 === 0;
|
|
}
|
|
module.exports = exports.default; |