{"id":20780219,"url":"https://github.com/xotic750/is-array-like-x","last_synced_at":"2025-04-30T20:29:27.091Z","repository":{"id":2573485,"uuid":"46881827","full_name":"Xotic750/is-array-like-x","owner":"Xotic750","description":"Determine if a value is array like.","archived":false,"fork":false,"pushed_at":"2023-01-04T22:47:39.000Z","size":3470,"stargazers_count":1,"open_issues_count":20,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-09T14:32:57.762Z","etag":null,"topics":["browser","ecmascript","isarraylike","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Xotic750.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-25T19:24:28.000Z","updated_at":"2020-01-30T21:40:41.000Z","dependencies_parsed_at":"2023-01-13T11:57:15.631Z","dependency_job_id":null,"html_url":"https://github.com/Xotic750/is-array-like-x","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xotic750%2Fis-array-like-x","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xotic750%2Fis-array-like-x/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xotic750%2Fis-array-like-x/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xotic750%2Fis-array-like-x/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xotic750","download_url":"https://codeload.github.com/Xotic750/is-array-like-x/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225043498,"owners_count":17411996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["browser","ecmascript","isarraylike","nodejs"],"created_at":"2024-11-17T13:32:55.574Z","updated_at":"2024-11-17T13:32:55.703Z","avatar_url":"https://github.com/Xotic750.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca\n  href=\"https://travis-ci.org/Xotic750/is-array-like-x\"\n  title=\"Travis status\"\u003e\n\u003cimg\n  src=\"https://travis-ci.org/Xotic750/is-array-like-x.svg?branch=master\"\n  alt=\"Travis status\" height=\"18\"\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://david-dm.org/Xotic750/is-array-like-x\"\n  title=\"Dependency status\"\u003e\n\u003cimg src=\"https://david-dm.org/Xotic750/is-array-like-x/status.svg\"\n  alt=\"Dependency status\" height=\"18\"/\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://david-dm.org/Xotic750/is-array-like-x?type=dev\"\n  title=\"devDependency status\"\u003e\n\u003cimg src=\"https://david-dm.org/Xotic750/is-array-like-x/dev-status.svg\"\n  alt=\"devDependency status\" height=\"18\"/\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://badge.fury.io/js/is-array-like-x\"\n  title=\"npm version\"\u003e\n\u003cimg src=\"https://badge.fury.io/js/is-array-like-x.svg\"\n  alt=\"npm version\" height=\"18\"\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://www.jsdelivr.com/package/npm/is-array-like-x\"\n  title=\"jsDelivr hits\"\u003e\n\u003cimg src=\"https://data.jsdelivr.com/v1/package/npm/is-array-like-x/badge?style=rounded\"\n  alt=\"jsDelivr hits\" height=\"18\"\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://bettercodehub.com/results/Xotic750/is-array-like-x\"\n  title=\"bettercodehub score\"\u003e\n\u003cimg src=\"https://bettercodehub.com/edge/badge/Xotic750/is-array-like-x?branch=master\"\n  alt=\"bettercodehub score\" height=\"18\"\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://coveralls.io/github/Xotic750/is-array-like-x?branch=master\"\n  title=\"Coverage Status\"\u003e\n\u003cimg src=\"https://coveralls.io/repos/github/Xotic750/is-array-like-x/badge.svg?branch=master\"\n  alt=\"Coverage Status\" height=\"18\"\u003e\n\u003c/a\u003e\n\n\u003ca name=\"module_is-array-like-x\"\u003e\u003c/a\u003e\n\n## is-array-like-x\n\nDetermine if a value is array like.\n\n\u003ca name=\"exp_module_is-array-like-x--module.exports\"\u003e\u003c/a\u003e\n\n### `module.exports(value)` ⇒ \u003ccode\u003eboolean\u003c/code\u003e ⏏\n\nChecks if value is array-like. A value is considered array-like if it's\nnot a function and has a `length` that's an integer greater than or\nequal to 0 and less than or equal to `Number.MAX_SAFE_INTEGER`.\n\n**Kind**: Exported function  \n**Returns**: \u003ccode\u003eboolean\u003c/code\u003e - Returns `true` if subject is array-like, else `false`.\n\n| Param | Type            | Description              |\n| ----- | --------------- | ------------------------ |\n| value | \u003ccode\u003e\\*\u003c/code\u003e | The object to be tested. |\n\n**Example**\n\n```js\nimport isArrayLike from 'is-array-like-x';\n\nconsole.log(isArrayLike([1, 2, 3])); // true\nconsole.log(isArrayLike(document.body.children)); // true\nconsole.log(isArrayLike('abc')); // true\nconsole.log(isArrayLike(isArrayLike)); // false\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxotic750%2Fis-array-like-x","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxotic750%2Fis-array-like-x","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxotic750%2Fis-array-like-x/lists"}