Boolean generators.

A set of functions to help with generating random types of boolean. Generators can return a single value or grouped values using arrays and matrix.


_rndmBool()

Generate a random boolean value.

  • Name
    returns
    Type
    bool
    Description

    A random boolean value.


_rndmBoolArray()

Generate a random boolean array.

  • Name
    size
    Type
    int
    Description

    The size of the array. By default its set to 0, which implies a random length between 3-10 values. Optional. The default is 0.

  • Name
    returns
    Type
    array<bool>
    Description

    A random boolean array.


_rndmBoolMatrix()

Generate a random boolean matrix.

  • Name
    rows
    Type
    int
    Description

    Total row size. By default its set to 0, which implies a random length between 3-10 values. Optional. The default is 0.

  • Name
    columns
    Type
    int
    Description

    Total column size. By default its set to 0, which implies a random length between 3-10 values. Optional. The default is 0.

  • Name
    returns
    Type
    matrix<bool>
    Description

    A random boolean matrix.