PageSourceSearch

https://fast-check.dev/assets/js/74c1fc60.1d2da22b.js

js fast-check.dev collected 2026-10-02 04:23:05 UTC 3,464 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["31754"],{10976(e,t,s){s.r(t),s.d(t,{metadata:()=>n,default:()=>h,frontMatter:()=>i,contentTitle:()=>c,toc:()=>d,assets:()=>o});var n=JSON.parse('{"id":"api/interfaces/WebFragmentsConstraints","title":"Interface: WebFragmentsConstraints","description":"Defined in10","source":"@site/docs/api/interfaces/WebFragmentsConstraints.md","sourceDirName":"api/interfaces","slug":"/api/interfaces/WebFragmentsConstraints","permalink":"/docs/api/interfaces/WebFragmentsConstraints","draft":false,"unlisted":false,"tags":[],"version":"current","lastUpdatedBy":null,"lastUpdatedAt":null,"frontMatter":{"mdx":{"format":"md"}},"sidebar":"tutorialSidebar","previous":{"title":"Interface: WebAuthorityConstraints","permalink":"/docs/api/interfaces/WebAuthorityConstraints"},"next":{"title":"Interface: WebPathConstraints","permalink":"/docs/api/interfaces/WebPathConstraints"}}'),r=s(61058),a=s(24801);let i={mdx:{format:"md"}},c="Interface: WebFragmentsConstraints",o={},d=[{value:"Remarks",id:"remarks",level:2},{value:"Properties",id:"properties",level:2},{value:"size?",id:"size",level:3},{value:"Remarks",id:"remarks-1",level:4}];function l(e){let t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",p:"p",strong:"strong",...(0,a.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.header,{children:(0,r.jsx)(t.h1,{id:"interface-webfragmentsconstraints",children:"Interface: WebFragmentsConstraints"})}),"\n",(0,r.jsxs)(t.p,{children:["Defined in: ",(0,r.jsx)(t.a,{href:"https://github.com/dubzzz/fast-check/blob/014cc87e29e807fd7028e4cc05d8a6cd12da172b/packages/fast-check/src/arbitrary/webFragments.ts#L10",children:"packages/fast-check/src/arbitrary/webFragments.ts:10"})]}),"\n",(0,r.jsxs)(t.p,{children:["Constraints to be applied on ",(0,r.jsx)(t.a,{href:"/docs/api/functions/webFragments",children:"webFragments"})]}),"\n",(0,r.jsx)(t.h2,{id:"remarks",children:"Remarks"}),"\n",(0,r.jsx)(t.p,{children:"Since 2.22.0"}),"\n",(0,r.jsx)(t.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(t.h3,{id:"size",children:"size?"}),"\n",(0,r.jsxs)(t.blockquote,{children:["\n",(0,r.jsxs)(t.p,{children:[(0,r.jsx)(t.code,{children:"optional"})," ",(0,r.jsx)(t.strong,{children:"size?"}),": ",(0,r.jsx)(t.code,{children:"RelativeSize"})," | ",(0,r.jsx)(t.a,{href:"/docs/api/type-aliases/Size",children:(0,r.jsx)(t.code,{children:"Size"})})]}),"\n"]}),"\n",(0,r.jsxs)(t.p,{children:["Defined in: ",(0,r.jsx)(t.a,{href:"https://github.com/dubzzz/fast-check/blob/014cc87e29e807fd7028e4cc05d8a6cd12da172b/packages/fast-check/src/arbitrary/webFragments.ts#L15",children:"packages/fast-check/src/arbitrary/webFragments.ts:15"})]}),"\n",(0,r.jsx)(t.p,{children:"Define how large the generated values should be (at max)"}),"\n",(0,r.jsx)(t.h4,{id:"remarks-1",children:"Remarks"}),"\n",(0,r.jsx)(t.p,{children:"Since 2.22.0"})]})}function h(e={}){let{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},24801(e,t,s){s.d(t,{R:()=>i,x:()=>c});var n=s(13706);let r={},a=n.createContext(r);function i(e){let t=n.useContext(a);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),n.createElement(a.Provider,{value:t},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.