{"id":18277647,"url":"https://github.com/inspect-js/is-boolean-object","last_synced_at":"2025-04-09T14:09:37.932Z","repository":{"id":31140460,"uuid":"34700259","full_name":"inspect-js/is-boolean-object","owner":"inspect-js","description":"Is this value a JS Boolean? This module works cross-realm/iframe, and despite ES6 @@toStringTag.","archived":false,"fork":false,"pushed_at":"2025-02-05T02:48:08.000Z","size":131,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-31T16:37:43.054Z","etag":null,"topics":["boolean","boxed","false","is","javascript","true"],"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/inspect-js.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["ljharb"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":"npm/deep-equal","community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2015-04-28T01:16:33.000Z","updated_at":"2025-02-05T02:48:11.000Z","dependencies_parsed_at":"2024-12-13T08:21:47.785Z","dependency_job_id":"11cf9040-7b97-4098-a084-47e1c501fd50","html_url":"https://github.com/inspect-js/is-boolean-object","commit_stats":{"total_commits":89,"total_committers":1,"mean_commits":89.0,"dds":0.0,"last_synced_commit":"befa203ffa0e94c70d5b35aae407ea93e0bbc117"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inspect-js%2Fis-boolean-object","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inspect-js%2Fis-boolean-object/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inspect-js%2Fis-boolean-object/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inspect-js%2Fis-boolean-object/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inspect-js","download_url":"https://codeload.github.com/inspect-js/is-boolean-object/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054194,"owners_count":21039952,"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":["boolean","boxed","false","is","javascript","true"],"created_at":"2024-11-05T12:19:53.477Z","updated_at":"2025-04-09T14:09:37.898Z","avatar_url":"https://github.com/inspect-js.png","language":"JavaScript","funding_links":["https://github.com/sponsors/ljharb","https://tidelift.com/funding/github/npm/deep-equal"],"categories":[],"sub_categories":[],"readme":"# is-boolean-object \u003csup\u003e[![Version Badge][2]][1]\u003c/sup\u003e\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![dependency status][5]][6]\n[![dev dependency status][7]][8]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][11]][1]\n\nIs this value a JS Boolean? This module works cross-realm/iframe, and despite ES6 @@toStringTag.\n\n## Example\n\n```js\nvar isBoolean = require('is-boolean-object');\nvar assert = require('assert');\n\nassert.notOk(isBoolean(undefined));\nassert.notOk(isBoolean(null));\nassert.notOk(isBoolean('foo'));\nassert.notOk(isBoolean(function () {}));\nassert.notOk(isBoolean([]));\nassert.notOk(isBoolean({}));\nassert.notOk(isBoolean(/a/g));\nassert.notOk(isBoolean(new RegExp('a', 'g')));\nassert.notOk(isBoolean(new Date()));\nassert.notOk(isBoolean(42));\nassert.notOk(isBoolean(NaN));\nassert.notOk(isBoolean(Infinity));\n\nassert.ok(isBoolean(new Boolean(42)));\nassert.ok(isBoolean(false));\nassert.ok(isBoolean(Object(false)));\nassert.ok(isBoolean(true));\nassert.ok(isBoolean(Object(true)));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[1]: https://npmjs.org/package/is-boolean-object\n[2]: https://versionbadg.es/inspect-js/is-boolean-object.svg\n[5]: https://david-dm.org/inspect-js/is-boolean-object.svg\n[6]: https://david-dm.org/inspect-js/is-boolean-object\n[7]: https://david-dm.org/inspect-js/is-boolean-object/dev-status.svg\n[8]: https://david-dm.org/inspect-js/is-boolean-object#info=devDependencies\n[11]: https://nodei.co/npm/is-boolean-object.png?downloads=true\u0026stars=true\n[license-image]: https://img.shields.io/npm/l/is-boolean-object.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/is-boolean-object.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=is-boolean-object\n[codecov-image]: https://codecov.io/gh/inspect-js/is-boolean-object/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/inspect-js/is-boolean-object/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-boolean-object\n[actions-url]: https://github.com/inspect-js/is-boolean-object/actions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finspect-js%2Fis-boolean-object","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finspect-js%2Fis-boolean-object","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finspect-js%2Fis-boolean-object/lists"}