|
|
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[45382],{46684:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>s,contentTitle:()=>o,default:()=>d,frontMatter:()=>n,metadata:()=>p,toc:()=>l});var r=a(85893),i=a(11151);const n={sidebar_label:"AwaitablePredicate"},o="AwaitablePredicate type",p={id:"api/puppeteer.awaitablepredicate",title:"AwaitablePredicate type",description:"Signature:",source:"@site/versioned_docs/version-22.8.2/api/puppeteer.awaitablepredicate.md",sourceDirName:"api",slug:"/api/puppeteer.awaitablepredicate",permalink:"/api/puppeteer.awaitablepredicate",draft:!1,unlisted:!1,tags:[],version:"22.8.2",frontMatter:{sidebar_label:"AwaitablePredicate"},sidebar:"api",previous:{title:"AwaitableIterable",permalink:"/api/puppeteer.awaitableiterable"},next:{title:"AwaitedLocator",permalink:"/api/puppeteer.awaitedlocator"}},s={},l=[{value:"Signature:",id:"signature",level:4}];function c(e){const t={a:"a",code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,i.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"awaitablepredicate-type",children:"AwaitablePredicate type"}),"\n",(0,r.jsx)(t.h4,{id:"signature",children:"Signature:"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-typescript",children:"export type AwaitablePredicate<T> = (value: T) => Awaitable<boolean>;\n"})}),"\n",(0,r.jsxs)(t.p,{children:[(0,r.jsx)(t.strong,{children:"References:"})," ",(0,r.jsx)(t.a,{href:"/api/puppeteer.awaitable",children:"Awaitable"})]})]})}function d(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(c,{...e})}):c(e)}},75251:(e,t,a)=>{var r=a(67294),i=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,p=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,a){var r,n={},l=null,c=null;for(r in void 0!==a&&(l=""+a),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(c=t.ref),t)o.call(t,r)&&!s.hasOwnProperty(r)&&(n[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===n[r]&&(n[r]=t[r]);return{$$typeof:i,type:e,key:l,ref:c,props:n,_owner:p.current}}t.Fragment=n,t.jsx=l,t.jsxs=l},85893:(e,t,a)=>{e.exports=a(75251)},11151:(e,t,a)=>{a.d(t,{Z:()=>p,a:()=>o});var r=a(67294);const i={},n=r.createContext(i);function o(e){const t=r.useContext(n);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function p(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),r.createElement(n.Provider,{value:t},e.children)}}}]);
|