PageSourceSearch

https://fast-check.dev/assets/js/3b84a5a5.fb89135c.js

js fast-check.dev collected 2026-10-02 04:21:55 UTC 3,997 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["23265"],{29453(e,s,t){t.r(s),t.d(s,{metadata:()=>n,default:()=>h,frontMatter:()=>l,contentTitle:()=>i,toc:()=>c,assets:()=>d});var n=JSON.parse('{"id":"api/type-aliases/FalsyValue","title":"Type Alias: FalsyValue\\\\<TConstraints\\\\>","description":"FalsyValue\\\\ = false \\\\| null \\\\| 0 \\\\| \\"\\" \\\\| typeof NaN \\\\| undefined \\\\| TConstraints extends object ? 0n : never","source":"@site/docs/api/type-aliases/FalsyValue.md","sourceDirName":"api/type-aliases","slug":"/api/type-aliases/FalsyValue","permalink":"/docs/api/type-aliases/FalsyValue","draft":false,"unlisted":false,"tags":[],"version":"current","lastUpdatedBy":null,"lastUpdatedAt":null,"frontMatter":{"mdx":{"format":"md"}},"sidebar":"tutorialSidebar","previous":{"title":"Type Alias: EntityGraphValue\\\\<TEntityFields, TEntityRelations\\\\>","permalink":"/docs/api/type-aliases/EntityGraphValue"},"next":{"title":"Type Alias: Float32ArrayConstraints","permalink":"/docs/api/type-aliases/Float32ArrayConstraints"}}'),a=t(61058),r=t(24801);let l={mdx:{format:"md"}},i="Type Alias: FalsyValue<TConstraints>",d={},c=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Remarks",id:"remarks",level:2}];function o(e){let s={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,r.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.header,{children:(0,a.jsx)(s.h1,{id:"type-alias-falsyvaluetconstraints",children:"Type Alias: FalsyValue<TConstraints>"})}),"\n",(0,a.jsxs)(s.blockquote,{children:["\n",(0,a.jsxs)(s.p,{children:[(0,a.jsx)(s.strong,{children:"FalsyValue"}),"<",(0,a.jsx)(s.code,{children:"TConstraints"}),"> = ",(0,a.jsx)(s.code,{children:"false"})," | ",(0,a.jsx)(s.code,{children:"null"})," | ",(0,a.jsx)(s.code,{children:"0"})," | ",(0,a.jsx)(s.code,{children:'""'})," | ",(0,a.jsx)(s.em,{children:"typeof"})," ",(0,a.jsx)(s.code,{children:"NaN"})," | ",(0,a.jsx)(s.code,{children:"undefined"})," | ",(0,a.jsx)(s.code,{children:"TConstraints"})," ",(0,a.jsx)(s.em,{children:"extends"})," ",(0,a.jsx)(s.code,{children:"object"})," ? ",(0,a.jsx)(s.code,{children:"0n"})," : ",(0,a.jsx)(s.code,{children:"never"})]}),"\n"]}),"\n",(0,a.jsxs)(s.p,{children:["Defined in: ",(0,a.jsx)(s.a,{href:"https://github.com/dubzzz/fast-check/blob/014cc87e29e807fd7028e4cc05d8a6cd12da172b/packages/fast-check/src/arbitrary/falsy.ts#L23",children:"packages/fast-check/src/arbitrary/falsy.ts:23"})]}),"\n",(0,a.jsxs)(s.p,{children:["Typing for values generated by ",(0,a.jsx)(s.a,{href:"/docs/api/functions/falsy",children:"falsy"})]}),"\n",(0,a.jsx)(s.h2,{id:"type-parameters",children:"Type Parameters"}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,a.jsxs)(s.table,{children:[(0,a.jsx)(s.thead,{children:(0,a.jsxs)(s.tr,{children:[(0,a.jsx)(s.th,{children:"Type Parameter"}),(0,a.jsx)(s.th,{children:"Default type"})]})}),(0,a.jsx)(s.tbody,{children:(0,a.jsxs)(s.tr,{children:[(0,a.jsxs)(s.td,{children:[(0,a.jsx)(s.code,{children:"TConstraints"})," ",(0,a.jsx)(s.em,{children:"extends"})," ",(0,a.jsx)(s.a,{href:"/docs/api/interfaces/FalsyContraints",children:(0,a.jsx)(s.code,{children:"FalsyContraints"})})]}),(0,a.jsx)(s.td,{children:(0,a.jsx)(s.code,{children:"object"})})]})})]}),"\n",(0,a.jsx)(s.h2,{id:"remarks",children:"Remarks"}),"\n",(0,a.jsx)(s.p,{children:"Since 2.2.0"})]})}function h(e={}){let{wrapper:s}={...(0,r.R)(),...e.components};return s?(0,a.jsx)(s,{...e,children:(0,a.jsx)(o,{...e})}):o(e)}},24801(e,s,t){t.d(s,{R:()=>l,x:()=>i});var n=t(13706);let a={},r=n.createContext(a);function l(e){let s=n.useContext(r);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function i(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:l(e.components),n.createElement(r.Provider,{value:s},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.