Bitbybit Docs
    Preparing search index...

    Class RandomBooleansDto (Inputs.Logic)

    A length and a probability for logic.randomBooleans.

    Index

    Constructors

    Properties

    Constructors

    Properties

    length: number

    How many booleans to draw.

    10
    

    1

    Infinity

    1

    trueThreshold: number

    The chance of each boolean being true, from 0 (never) to 1 (always).

    0.5
    

    0

    1

    0.1