Boolean Stream

The BooleanStream is a Stream that provides boolean-related methods.

not()

Returns a BooleanStream that changes the produced input.

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

const stream = truthy().not();

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

Last updated