@japofc/baileys - v2.4.7
    Preparing search index...

    Variable randomBoolConst

    randomBool: (p?: number, opts?: { random?: () => number }) => boolean

    Weighted coin: true with probability p (default 0.5).

    Type Declaration

      • (p?: number, opts?: { random?: () => number }): boolean
      • Parameters

        • Optionalp: number
        • Optionalopts: { random?: () => number }

        Returns boolean