Skip to main content

Function: webQueryParameters()

webQueryParameters(constraints?): Arbitrary<string>

Defined in: packages/fast-check/src/arbitrary/webQueryParameters.ts:30

For query parameters of an URI (web included)

According to RFC 3986

eg.: In the url https://domain/plop/?hello=1&world=2, ?hello=1&world=2 are query parameters

Parameters

ParameterTypeDescription
constraintsWebQueryParametersConstraintsConstraints to apply when building instances (since 2.22.0)

Returns

Arbitrary<string>

Remarks

Since 1.14.0