{"id":16048969,"url":"https://github.com/devongovett/is.js","last_synced_at":"2025-04-05T07:14:39.387Z","repository":{"id":981217,"uuid":"782934","full_name":"devongovett/is.js","owner":"devongovett","description":"JavaScript function that returns whether an object is of any of the given types","archived":false,"fork":false,"pushed_at":"2010-07-18T23:44:05.000Z","size":88,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T14:53:31.921Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devongovett.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-07-18T23:40:51.000Z","updated_at":"2019-04-19T20:28:28.000Z","dependencies_parsed_at":"2022-08-16T11:40:45.489Z","dependency_job_id":null,"html_url":"https://github.com/devongovett/is.js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Fis.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Fis.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Fis.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Fis.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devongovett","download_url":"https://codeload.github.com/devongovett/is.js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299850,"owners_count":20916193,"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":[],"created_at":"2024-10-09T00:11:55.698Z","updated_at":"2025-04-05T07:14:39.368Z","avatar_url":"https://github.com/devongovett.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"is.js is a JavaScript function that returns whether an object is of a given type.  Pass multiple types to test whether an object is of any of the types.\n\nOriginally by Dmitry Baranovskiy\nModified by Devon Govett to support multiple types\n\nExamples:\n\nis(\"test\", \"array\", \"string\"); //true\nis(123, \"number\", \"string\"); //true\nis([], \"object\"); //true\nis([], \"array\"); //true\nis(new String(\"test\"), \"string\"); //true","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevongovett%2Fis.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevongovett%2Fis.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevongovett%2Fis.js/lists"}