Skip to content

Boolean package provides functionality to generate a fake boolean value.

License

Notifications You must be signed in to change notification settings

faker-javascript/boolean

Repository files navigation

Boolean

Boolean package provides functionality to generate a fake boolean value.

Version node-current License

Install

npm

npm install @fakerjs/boolean --save-dev

yarn

yarn add @fakerjs/boolean -D

Usage

import boolean from '@fakerjs/boolean';

boolean();
//=> true

boolean();
//=> false

Tests

Run tests

npm run test

License

The MIT License (MIT) Copyright (c) Sergey Romanenko