fluentfixture
ContributionCode of Conduct
  • Fluent Fixture
  • PACKAGES
    • @fluentfixture/core
      • Everything Is A Factory
      • Streams
        • Stream
        • Boolean Stream
        • Number Stream
        • String Stream
        • Date Stream
        • Array Stream
        • Object Stream
      • Generators
      • Live Demo
    • @fluentfixture/format
      • Structure
      • Pipe Functions
        • Built-In Pipes
        • Custom Pipes
      • How To Use
      • Error Handling
      • Live Demo
  • 🫂Contribution
  • 🐦Follow me on Twitter :)
Powered by GitBook
On this page
Edit on GitHub
  1. PACKAGES
  2. @fluentfixture/core
  3. Streams

Boolean Stream

PreviousStreamNextNumber Stream

Last updated 7 months ago

The BooleanStream is a that provides boolean-related methods.

not()

Returns a that changes the produced input.

import { truthy } from '@fluentfixture/core';

const stream = truthy().not();

console.log(stream.many(5));
// [false, false, false, false, false]
Stream
BooleanStream