Function: mixedCase()
mixedCase(
stringArb,constraints?):Arbitrary<string>
Defined in: packages/fast-check/src/arbitrary/mixedCase.ts:45
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.
Parameters
| Parameter | Type | Description |
|---|---|---|
stringArb | Arbitrary<string> | Arbitrary able to build string values |
constraints? | MixedCaseConstraints | Constraints to be applied when computing upper/lower case version |
Returns
Arbitrary<string>
Remarks
Since 1.17.0