{"id":19149237,"url":"https://github.com/restuwahyu13/is-any-type","last_synced_at":"2025-07-09T15:35:38.125Z","repository":{"id":37965560,"uuid":"334965205","full_name":"restuwahyu13/is-any-type","owner":"restuwahyu13","description":"Simple functionality alternative to check data type references such as typeof and instanceof.","archived":false,"fork":false,"pushed_at":"2023-03-06T12:59:17.000Z","size":702,"stargazers_count":6,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-07T05:36:24.117Z","etag":null,"topics":["assert","assertions","check","checking","checking-functionlity","expect","functional-testing","instanceof","tdd-utilities","test","testing","testing-tools","typeof","validation","validator"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/restuwahyu13.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-02-01T13:51:45.000Z","updated_at":"2023-03-04T17:56:55.000Z","dependencies_parsed_at":"2023-12-17T19:49:48.560Z","dependency_job_id":null,"html_url":"https://github.com/restuwahyu13/is-any-type","commit_stats":{"total_commits":143,"total_committers":2,"mean_commits":71.5,"dds":0.1678321678321678,"last_synced_commit":"ed65204024b428ac98f8eed403807194aed95cc4"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/restuwahyu13/is-any-type","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/restuwahyu13%2Fis-any-type","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/restuwahyu13%2Fis-any-type/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/restuwahyu13%2Fis-any-type/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/restuwahyu13%2Fis-any-type/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/restuwahyu13","download_url":"https://codeload.github.com/restuwahyu13/is-any-type/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/restuwahyu13%2Fis-any-type/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264257661,"owners_count":23580469,"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":["assert","assertions","check","checking","checking-functionlity","expect","functional-testing","instanceof","tdd-utilities","test","testing","testing-tools","typeof","validation","validator"],"created_at":"2024-11-09T08:07:18.967Z","updated_at":"2025-07-09T15:35:38.063Z","avatar_url":"https://github.com/restuwahyu13.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Is Any Type\n\n[![Build Status](https://travis-ci.org/restuwahyu13/is-any-type.svg?branch=main)](https://travis-ci.org/restuwahyu13/is-any-type) [![Coverage Status](https://coveralls.io/repos/github/restuwahyu13/is-any-type/badge.svg?branch=main)](https://coveralls.io/github/restuwahyu13/is-any-type?branch=main) [![CodeFactor](https://www.codefactor.io/repository/github/restuwahyu13/is-any-type/badge/main)](https://www.codefactor.io/repository/github/restuwahyu13/is-any-type/overview/main) [![codebeat badge](https://codebeat.co/badges/fe58172b-4ea6-4bf7-aa50-db5415067b5a)](https://codebeat.co/projects/github-com-restuwahyu13-is-any-type-main) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/f17127c69b9c45d3a7a45eac30c90cf6)](https://www.codacy.com/gh/restuwahyu13/is-any-type/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=restuwahyu13/is-any-type\u0026amp;utm_campaign=Badge_Grade) ![node-current](https://img.shields.io/node/v/is-any-type?style=flat-square) ![npm](https://img.shields.io/npm/dm/is-any-type) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/restuwahyu13/is-any-type/blob/main/CONTRIBUTING.md)\n\n`is-any-type` A simple JavaScript function for checking data types, alternative to typeof and instanceof, this can be used anywhere such as typeof and instanceof, for documentation under v4 [check here](https://github.com/restuwahyu13/is-any-type/blob/main/README_V3.md).\n\n- [Installation](#installation)\n- [Example Usage](#example-usage)\n- [Testing](#testing)\n- [Bugs](#bugs)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Installation\n\n```sh\nnpm install is-any-type -S or yarn add is-any-type -S\n```\n\n### Example Usage\n\n- #### Example Usage Using CommonJS Module\n\n  ```javascript\n  const { assert } = require('is-any-type')\n\n  let isString = assert.isString('hello wordl') // =\u003e true\n  let isNumber = assert.isNumber(new Date().getFullYear) // =\u003e true\n  let isNull = assert.isNull(null) // =\u003e true\n  let isUndefined = assert.isUndefined(undefined) // =\u003e true\n  let isObject = assert.isObject({}) // =\u003e true\n  let isArray = assert.isArray([]) // =\u003e true\n  let isFunction = assert.isFunction(() =\u003e {}) // =\u003e true\n  let isPromise = assert.isPromise(new Promise((resolve) =\u003e resolve('hello wordl'))) // =\u003e true\n  let isBuffer = assert.isBuffer(Buffer.from('hello world')) // =\u003e true\n  let isBoolean = assert.isBoolean(true) // =\u003e true\n\n  let isString = assert.isString(2021) // =\u003e false\n  let isNumber = assert.isNumber('hello world') // =\u003e false\n  let isNull = assert.isNull(undefined) // =\u003e false\n  let isUndefined = isType(null) // =\u003e false\n  let isObject = assert.isObject([]) // =\u003e false\n  let isArray = assert.isArray({}) // =\u003e false\n  let isFunction = assert.isFunction(Promise.resolve('hello world')) // =\u003e false\n  let isPromise = assert.isPromise(() =\u003e 'hello world') // =\u003e false\n  let isBuffer = assert.isBuffer('hello world') // =\u003e false\n  let isBoolean = assert.isBoolean(null) // =\u003e false\n\n  let isStringCompare = assert.isStringCompare('hello wordl', 'hello wordl') // =\u003e true\n  let isNumberCompare = assert.isNumberCompare(new Date().getFullYear, new Date().getFullYear) // =\u003e true\n  let isNullCompare = assert.isNullCompare(null, null) // =\u003e true\n  let isUndefinedCompare = assert.isUndefinedCompare(undefined, undefined) // =\u003e true\n  let isObjectCompare = assert.isObjectCompare({}, {}) // =\u003e true\n  let isArrayCompare = assert.isArrayCompare([], []) // =\u003e true\n  let isFunctionCompare = assert.isFunctionCompare(() =\u003e {}, Function) // =\u003e true\n  let isPromiseCompare = assert.isPromiseCompare(Promise.resolve('hello world'), Promise.resolve('hello world')) // =\u003e true\n  let isBufferCompare = assert.isBufferCompare(Buffer.from('hello world'), Buffer.from('hello world')) // =\u003e true\n  let isBooleanCompare = assert.isBooleanCompare(true, false) // =\u003e true\n\n  let isStringCompare = assert.isStringCompare('hello wordl', 2021) // =\u003e false\n  let isNumberCompare = assert.isNumberCompare(new Date().getFullYear, 'hello wordl') // =\u003e false\n  let isNullCompare = assert.isNullCompare(null, true) // =\u003e false\n  let isUndefinedCompare = assert.isUndefinedCompare(undefined, null) // =\u003e false\n  let isObjectCompare = assert.isObjectCompare({}, []) // =\u003e false\n  let isArrayCompare = assert.isArrayCompare([], {}) // =\u003e false\n  let isFunctionCompare = assert.isFunctionCompare(() =\u003e {}, Promise) // =\u003e false\n  let isPromiseCompare = assert.isPromiseCompare(Promise.resolve('hello world'), Promise.resolve('hello world')) // =\u003e false\n  let isBufferCompare = assert.isBufferCompare(Buffer.from('hello world'), Promise.resolve('hello wordl')) // =\u003e false\n  let isBooleanCompare = assert.isBooleanCompare(true, 2021) // =\u003e false\n  ```\n\n- #### Example Usage Using ESM Module\n\n  ```javascript\n  import { assert } from 'is-any-type'\n\n  let isString = assert.isString('hello wordl') // =\u003e true\n  let isNumber = assert.isNumber(new Date().getFullYear) // =\u003e true\n  let isNull = assert.isNull(null) // =\u003e true\n  let isUndefined = assert.isUndefined(undefined) // =\u003e true\n  let isObject = assert.isObject({}) // =\u003e true\n  let isArray = assert.isArray([]) // =\u003e true\n  let isFunction = assert.isFunction(() =\u003e {}) // =\u003e true\n  let isPromise = assert.isPromise(new Promise((resolve) =\u003e resolve('hello wordl'))) // =\u003e true\n  let isBuffer = assert.isBuffer(Buffer.from('hello world')) // =\u003e true\n  let isBoolean = assert.isBoolean(true) // =\u003e true\n\n  let isString = assert.isString(2021) // =\u003e false\n  let isNumber = assert.isNumber('hello world') // =\u003e false\n  let isNull = assert.isNull(undefined) // =\u003e false\n  let isUndefined = isType(null) // =\u003e false\n  let isObject = assert.isObject([]) // =\u003e false\n  let isArray = assert.isArray({}) // =\u003e false\n  let isFunction = assert.isFunction(Promise.resolve('hello world')) // =\u003e false\n  let isPromise = assert.isPromise(() =\u003e 'hello world') // =\u003e false\n  let isBuffer = assert.isBuffer('hello world') // =\u003e false\n  let isBoolean = assert.isBoolean(null) // =\u003e false\n\n  let isStringCompare = assert.isStringCompare('hello wordl', 'hello wordl') // =\u003e true\n  let isNumberCompare = assert.isNumberCompare(new Date().getFullYear, new Date().getFullYear) // =\u003e true\n  let isNullCompare = assert.isNullCompare(null, null) // =\u003e true\n  let isUndefinedCompare = assert.isUndefinedCompare(undefined, undefined) // =\u003e true\n  let isObjectCompare = assert.isObjectCompare({}, {}) // =\u003e true\n  let isArrayCompare = assert.isArrayCompare([], []) // =\u003e true\n  let isFunctionCompare = assert.isFunctionCompare(() =\u003e {}, Function) // =\u003e true\n  let isPromiseCompare = assert.isPromiseCompare(Promise.resolve('hello world'), Promise.resolve('hello world')) // =\u003e true\n  let isBufferCompare = assert.isBufferCompare(Buffer.from('hello world'), Buffer.from('hello world')) // =\u003e true\n  let isBooleanCompare = assert.isBooleanCompare(true, false) // =\u003e true\n\n  let isStringCompare = assert.isStringCompare('hello wordl', 2021) // =\u003e false\n  let isNumberCompare = assert.isNumberCompare(new Date().getFullYear, 'hello wordl') // =\u003e false\n  let isNullCompare = assert.isNullCompare(null, true) // =\u003e false\n  let isUndefinedCompare = assert.isUndefinedCompare(undefined, null) // =\u003e false\n  let isObjectCompare = assert.isObjectCompare({}, []) // =\u003e false\n  let isArrayCompare = assert.isArrayCompare([], {}) // =\u003e false\n  let isFunctionCompare = assert.isFunctionCompare(() =\u003e {}, Promise) // =\u003e false\n  let isPromiseCompare = assert.isPromiseCompare(Promise.resolve('hello world'), Promise.resolve('hello world')) // =\u003e false\n  let isBufferCompare = assert.isBufferCompare(Buffer.from('hello world'), Promise.resolve('hello wordl')) // =\u003e false\n  let isBooleanCompare = assert.isBooleanCompare(true, 2021) // =\u003e false\n  ```\n\n- #### Example Usage Using CommonJS Module With Jest\n\n```typescript\nconst { assert } = require('is-any-type')\n\ndescribe('Is Any Type Group Testing', () =\u003e {\n\n  test('Should be value is string', () =\u003e {\n    const type = assert.isString('hello wordl')\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('Should be string match value from string', () =\u003e {\n    const type = assert.isStringCompare('hello wordl', 'hello wordl')\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('Should be value is number', () =\u003e {\n    const type = assert.isNumber(2021)\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('Should be number match value from number', () =\u003e {\n    const type = assert.isNumberCompare(2021, 2021)\n\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('Should be value is object', () =\u003e {\n    const type1 = assert.isObject({ name: 'john doe' })\n    const type2 = assert.isObject({})\n    \n    expect(type1).toBeDefined()\n    expect(type2).toBeDefined()\n\n    expect(type1).toBeTruthy()\n    expect(type2).toBeTruthy()\n  })\n\n  test('Should be object match value from object', () =\u003e {\n    const type1 = assert.isObjectCompare({ name: 'john doe' }, { name: 'john doe' })\n    const type2 = assert.isObjectCompare({}, {})\n\n    expect(type1).toBeDefined()\n    expect(type2).toBeDefined()\n\n    expect(type1).toBeTruthy()\n    expect(type2).toBeTruthy()\n  })\n\n  test('Should be value is array', () =\u003e {\n    const type1 = assert.isArray([1, 2, 3, 4, 5])\n    const type2 = assert.isArray([])\n    \n    expect(type1).toBeDefined()\n    expect(type2).toBeDefined()\n\n    expect(type1).toBeTruthy()\n    expect(type2).toBeTruthy()\n  })\n\n  test('Should be array match value from array', () =\u003e {\n    const type1 = assert.isArrayCompare([1, 2, 3, 4, 5], [6, 7, 8, 9, 10])\n    const type2 = assert.isArrayCompare([], [])\n\n    expect(type1).toBeDefined()\n    expect(type2).toBeDefined()\n\n    expect(type1).toBeTruthy()\n    expect(type2).toBeTruthy()\n  })\n\n  test('Should be value is function', () =\u003e {\n    const type = assert.isFunction(() =\u003e 'hello wordl')\n\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('Should be function match value from function', () =\u003e {\n    const type = assert.isFunctionCompare(() =\u003e 'hello wordl', () =\u003e 'hello wordl 2')\n\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n\n  test('Should be value is promise', () =\u003e {\n    const promise = async () =\u003e 'hello wordl'\n\n    const type1 = assert.isPromise(Promise.resolve('hello wordl'))\n    const type2 = assert.isPromise(new Promise((resolve, reject) =\u003e resolve('hello wordl')))\n    const type3 = assert.isPromise(promise())\n\n    expect(type1).toBeDefined()\n    expect(type2).toBeDefined()\n    expect(type3).toBeDefined()\n\n    expect(type1).toBeTruthy()\n    expect(type2).toBeTruthy()\n    expect(type3).toBeTruthy()\n  })\n\n  test('Should be promise match value from promise', () =\u003e {\n    const promise = async () =\u003e 'hello wordl'\n\n    const type1 = assert.isPromiseCompare(Promise.resolve('hello wordl'), Promise.resolve('hello wordl'))\n    const type2 = assert.isPromiseCompare(new Promise((resolve, reject) =\u003e resolve('hello wordl')), promise())\n    const type3 = assert.isPromiseCompare(promise(), Promise.resolve('hello wordl'))\n\n    expect(type1).toBeDefined()\n    expect(type2).toBeDefined()\n    expect(type3).toBeDefined()\n\n    expect(type1).toBeTruthy()\n    expect(type2).toBeTruthy()\n    expect(type3).toBeTruthy()\n  })\n\n\n  test('Should be value is buffer', () =\u003e {\n    const type = assert.isBuffer(Buffer.from('hello wordl'))\n\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('Should be buffer match value from buffer', () =\u003e {\n    const type = assert.isBufferCompare(Buffer.from('hello wordl'), Buffer.from('hello john'))\n\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('Should be value is null', () =\u003e {\n    const type = assert.isNull(null)\n\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('Should be null match value from null', () =\u003e {\n    const type = assert.isNullCompare(null, null)\n\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('Should be value is from undefined', () =\u003e {\n    let result\n    const type = assert.isUndefined(result)\n    \n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('undefined match value from undefined', () =\u003e {\n    const type = assert.isUndefinedCompare(undefined, undefined)\n\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('Should be value is from boolean', () =\u003e {\n    const type = assert.isBoolean(true)\n\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('Should be boolean match value from boolean', () =\u003e {\n    const type = assert.isBooleanCompare(true, false)\n\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n})\n```\n\n- #### Example Usage Using ESM Module With Jest\n\n```typescript\nimport { assert } from 'is-any-type'\n\ndescribe('Is Any Type Group Testing', () =\u003e {\n\n  test('Should be value is string', () =\u003e {\n    const type = assert.isString('hello wordl')\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('Should be string match value from string', () =\u003e {\n    const type = assert.isStringCompare('hello wordl', 'hello wordl')\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('Should be value is number', () =\u003e {\n    const type = assert.isNumber(2021)\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('Should be number match value from number', () =\u003e {\n    const type = assert.isNumberCompare(2021, 2021)\n\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('Should be value is object', () =\u003e {\n    const type1 = assert.isObject({ name: 'john doe' })\n    const type2 = assert.isObject({})\n    \n    expect(type1).toBeDefined()\n    expect(type2).toBeDefined()\n\n    expect(type1).toBeTruthy()\n    expect(type2).toBeTruthy()\n  })\n\n  test('Should be object match value from object', () =\u003e {\n    const type1 = assert.isObjectCompare({ name: 'john doe' }, { name: 'john doe' })\n    const type2 = assert.isObjectCompare({}, {})\n\n    expect(type1).toBeDefined()\n    expect(type2).toBeDefined()\n\n    expect(type1).toBeTruthy()\n    expect(type2).toBeTruthy()\n  })\n\n  test('Should be value is array', () =\u003e {\n    const type1 = assert.isArray([1, 2, 3, 4, 5])\n    const type2 = assert.isArray([])\n    \n    expect(type1).toBeDefined()\n    expect(type2).toBeDefined()\n\n    expect(type1).toBeTruthy()\n    expect(type2).toBeTruthy()\n  })\n\n  test('Should be array match value from array', () =\u003e {\n    const type1 = assert.isArrayCompare([1, 2, 3, 4, 5], [6, 7, 8, 9, 10])\n    const type2 = assert.isArrayCompare([], [])\n\n    expect(type1).toBeDefined()\n    expect(type2).toBeDefined()\n\n    expect(type1).toBeTruthy()\n    expect(type2).toBeTruthy()\n  })\n\n  test('Should be value is function', () =\u003e {\n    const type = assert.isFunction(() =\u003e 'hello wordl')\n\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('Should be function match value from function', () =\u003e {\n    const type = assert.isFunctionCompare(() =\u003e 'hello wordl', () =\u003e 'hello wordl 2')\n\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n\n  test('Should be value is promise', () =\u003e {\n    const promise = async () =\u003e 'hello wordl'\n\n    const type1 = assert.isPromise(Promise.resolve('hello wordl'))\n    const type2 = assert.isPromise(new Promise((resolve, reject) =\u003e resolve('hello wordl')))\n    const type3 = assert.isPromise(promise())\n\n    expect(type1).toBeDefined()\n    expect(type2).toBeDefined()\n    expect(type3).toBeDefined()\n\n    expect(type1).toBeTruthy()\n    expect(type2).toBeTruthy()\n    expect(type3).toBeTruthy()\n  })\n\n  test('Should be promise match value from promise', () =\u003e {\n    const promise = async () =\u003e 'hello wordl'\n\n    const type1 = assert.isPromiseCompare(Promise.resolve('hello wordl'), Promise.resolve('hello wordl'))\n    const type2 = assert.isPromiseCompare(new Promise((resolve, reject) =\u003e resolve('hello wordl')), promise())\n    const type3 = assert.isPromiseCompare(promise(), Promise.resolve('hello wordl'))\n\n    expect(type1).toBeDefined()\n    expect(type2).toBeDefined()\n    expect(type3).toBeDefined()\n\n    expect(type1).toBeTruthy()\n    expect(type2).toBeTruthy()\n    expect(type3).toBeTruthy()\n  })\n\n\n  test('Should be value is buffer', () =\u003e {\n    const type = assert.isBuffer(Buffer.from('hello wordl'))\n\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('Should be buffer match value from buffer', () =\u003e {\n    const type = assert.isBufferCompare(Buffer.from('hello wordl'), Buffer.from('hello john'))\n\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('Should be value is null', () =\u003e {\n    const type = assert.isNull(null)\n\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('Should be null match value from null', () =\u003e {\n    const type = assert.isNullCompare(null, null)\n\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('Should be value is from undefined', () =\u003e {\n    let result\n    const type = assert.isUndefined(result)\n    \n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('undefined match value from undefined', () =\u003e {\n    const type = assert.isUndefinedCompare(undefined, undefined)\n\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('Should be value is from boolean', () =\u003e {\n    const type = assert.isBoolean(true)\n\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n\n  test('Should be boolean match value from boolean', () =\u003e {\n    const type = assert.isBooleanCompare(true, false)\n\n    expect(type).toBeDefined()\n    expect(type).toBeTruthy()\n  })\n})\n```\n\n\n\n### Testing\n\n- Testing Via Local\n\n  ```sh\n  npm run test or make test\n  ```\n\n- Testing Via Local And Build\n\n  ```sh\n  make build\n  ```\n\n- Testing Via Docker\n\n  ```sh\n  docker build -t is-any-type or make dkb tag=is-any-type\n  ```\n\n### Bugs\n\nFor information on bugs related to package libraries, please visit\n[here](https://github.com/restuwahyu13/is-any-type/issues)\n\n### Contributing\n\nWant to make **Is-Any-Type** more perfect ? Let's contribute and follow the\n[contribution guide.](https://github.com/restuwahyu13/is-any-type/blob/main/CONTRIBUTING.md)\n\n### License\n\n- [MIT License](https://github.com/restuwahyu13/is-any-type/blob/main/LICENSE.md)\n\n\u003cp align=\"right\" style=\"padding: 5px; border-radius: 100%; background-color: red; font-size: 2rem;\"\u003e\n  \u003cb\u003e\u003ca href=\"#is-any-type\"\u003eBACK TO TOP\u003c/a\u003e\u003c/b\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frestuwahyu13%2Fis-any-type","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frestuwahyu13%2Fis-any-type","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frestuwahyu13%2Fis-any-type/lists"}