Class JsBoolGen

    • Method Detail

      • arbitrary

        public static fun.gen.Gen<JsBool> arbitrary()
        Returns a generator produces uniformed distributions of JsBool
        Returns:
        a JsBool generator
      • apply

        public Supplier<JsBool> apply​(Random seed)
        Returns a supplier from the specified seed that generates a new JsBool each time it's called
        Specified by:
        apply in interface Function<Random,​Supplier<JsBool>>
        Parameters:
        seed - the generator seed
        Returns:
        a JsBool supplier