PageSourceSearch

https://fast-check.dev/assets/js/bbc91c3d.657f2f06.js

js fast-check.dev collected 2026-10-02 04:22:30 UTC 4,213 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["28231"],{14375(e,n,r){r.r(n),r.d(n,{metadata:()=>t,default:()=>h,frontMatter:()=>i,contentTitle:()=>c,toc:()=>l,assets:()=>d});var t=JSON.parse('{"id":"api/functions/noBias","title":"Function: noBias()","description":"noBias\\\\(arb): Arbitrary\\\\","source":"@site/docs/api/functions/noBias.md","sourceDirName":"api/functions","slug":"/api/functions/noBias","permalink":"/docs/api/functions/noBias","draft":false,"unlisted":false,"tags":[],"version":"current","lastUpdatedBy":null,"lastUpdatedAt":null,"frontMatter":{"mdx":{"format":"md"}},"sidebar":"tutorialSidebar","previous":{"title":"Function: nat()","permalink":"/docs/api/functions/nat"},"next":{"title":"Function: noShrink()","permalink":"/docs/api/functions/noShrink"}}'),s=r(61058),a=r(24801);let i={mdx:{format:"md"}},c="Function: noBias()",d={},l=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Remarks",id:"remarks",level:2}];function o(e){let n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,a.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"function-nobias",children:"Function: noBias()"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"noBias"}),"<",(0,s.jsx)(n.code,{children:"T"}),">(",(0,s.jsx)(n.code,{children:"arb"}),"): ",(0,s.jsx)(n.a,{href:"/docs/api/classes/Arbitrary",children:(0,s.jsx)(n.code,{children:"Arbitrary"})}),"<",(0,s.jsx)(n.code,{children:"T"}),">"]}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["Defined in: ",(0,s.jsx)(n.a,{href:"https://github.com/dubzzz/fast-check/blob/014cc87e29e807fd7028e4cc05d8a6cd12da172b/packages/fast-check/src/arbitrary/noBias.ts#L35",children:"packages/fast-check/src/arbitrary/noBias.ts:35"})]}),"\n",(0,s.jsx)(n.p,{children:"Build an arbitrary without any bias."}),"\n",(0,s.jsx)(n.p,{children:"The produced instance wraps the source one and ensures the bias factor will always be passed to undefined meaning bias will be deactivated.\nAll the rest stays unchanged."}),"\n",(0,s.jsx)(n.h2,{id:"type-parameters",children:"Type Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n",(0,s.jsxs)(n.table,{children:[(0,s.jsx)(n.thead,{children:(0,s.jsx)(n.tr,{children:(0,s.jsx)(n.th,{children:"Type Parameter"})})}),(0,s.jsx)(n.tbody,{children:(0,s.jsx)(n.tr,{children:(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"T"})})})})]}),"\n",(0,s.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,s.jsxs)(n.table,{children:[(0,s.jsx)(n.thead,{children:(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.th,{children:"Parameter"}),(0,s.jsx)(n.th,{children:"Type"}),(0,s.jsx)(n.th,{children:"Description"})]})}),(0,s.jsx)(n.tbody,{children:(0,s.jsxs)(n.tr,{children:[(0,s.jsx)(n.td,{children:(0,s.jsx)(n.code,{children:"arb"})}),(0,s.jsxs)(n.td,{children:[(0,s.jsx)(n.a,{href:"/docs/api/classes/Arbitrary",children:(0,s.jsx)(n.code,{children:"Arbitrary"})}),"<",(0,s.jsx)(n.code,{children:"T"}),">"]}),(0,s.jsx)(n.td,{children:"The original arbitrary used for generating values. This arbitrary remains unchanged."})]})})]}),"\n",(0,s.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.a,{href:"/docs/api/classes/Arbitrary",children:(0,s.jsx)(n.code,{children:"Arbitrary"})}),"<",(0,s.jsx)(n.code,{children:"T"}),">"]}),"\n",(0,s.jsx)(n.h2,{id:"remarks",children:"Remarks"}),"\n",(0,s.jsx)(n.p,{children:"Since 3.20.0"})]})}function h(e={}){let{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(o,{...e})}):o(e)}},24801(e,n,r){r.d(n,{R:()=>i,x:()=>c});var t=r(13706);let s={},a=t.createContext(s);function i(e){let n=t.useContext(a);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),t.createElement(a.Provider,{value:n},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.