Bitbybit Docs
    Preparing search index...

    Class RandomBooleansDto (Inputs.Logic)

    Une longueur et une probabilité pour logic.randomBooleans.

    Index

    Constructors

    Properties

    Constructors

    Properties

    length: number

    Combien de booléens tirer.

    10
    

    1

    Infinity

    1

    trueThreshold: number

    La probabilité que chaque booléen soit vrai, de 0 (jamais) à 1 (toujours).

    0.5
    

    0

    1

    0.1