• Randomly switch the case of characters generated by stringArb (upper/lower)

    WARNING: Require bigint support. Under-the-hood the arbitrary relies on bigint to compute the flags that should be toggled or not.


    • stringArb: Arbitrary<string>

      Arbitrary able to build string values

    • Optional constraints: MixedCaseConstraints

      Constraints to be applied when computing upper/lower case version

    Returns Arbitrary<string>


    Since 1.17.0