puppeteer/assets/js/e6f4e4f3.4cb41019.js
release-please[bot] 2b16462081 deploy: 598b2a94bd
2024-05-15 06:17:32 +00:00

2 lines
2.9 KiB
JavaScript

/*! For license information please see e6f4e4f3.4cb41019.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[38601],{22702:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>c,contentTitle:()=>a,default:()=>p,frontMatter:()=>n,metadata:()=>i,toc:()=>l});var o=t(85893),s=t(11151);const n={sidebar_label:"detectBrowserPlatform"},a="detectBrowserPlatform() function",i={id:"browsers-api/browsers.detectbrowserplatform",title:"detectBrowserPlatform() function",description:"Signature:",source:"@site/versioned_docs/version-22.8.2/browsers-api/browsers.detectbrowserplatform.md",sourceDirName:"browsers-api",slug:"/browsers-api/browsers.detectbrowserplatform",permalink:"/browsers-api/browsers.detectbrowserplatform",draft:!1,unlisted:!1,tags:[],version:"22.8.2",frontMatter:{sidebar_label:"detectBrowserPlatform"},sidebar:"browsersApi",previous:{title:"getInstalledBrowsers",permalink:"/browsers-api/browsers.getinstalledbrowsers"},next:{title:"BrowserPlatform",permalink:"/browsers-api/browsers.browserplatform"}},c={},l=[{value:"Signature:",id:"signature",level:4}];function d(e){const r={a:"a",code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,s.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.h1,{id:"detectbrowserplatform-function",children:"detectBrowserPlatform() function"}),"\n",(0,o.jsx)(r.h4,{id:"signature",children:"Signature:"}),"\n",(0,o.jsx)(r.pre,{children:(0,o.jsx)(r.code,{className:"language-typescript",children:"export declare function detectBrowserPlatform(): BrowserPlatform | undefined;\n"})}),"\n",(0,o.jsx)(r.p,{children:(0,o.jsx)(r.strong,{children:"Returns:"})}),"\n",(0,o.jsxs)(r.p,{children:[(0,o.jsx)(r.a,{href:"/browsers-api/browsers.browserplatform",children:"BrowserPlatform"})," | undefined"]})]})}function p(e={}){const{wrapper:r}={...(0,s.a)(),...e.components};return r?(0,o.jsx)(r,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},75251:(e,r,t)=>{var o=t(67294),s=Symbol.for("react.element"),n=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,i=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,r,t){var o,n={},l=null,d=null;for(o in void 0!==t&&(l=""+t),void 0!==r.key&&(l=""+r.key),void 0!==r.ref&&(d=r.ref),r)a.call(r,o)&&!c.hasOwnProperty(o)&&(n[o]=r[o]);if(e&&e.defaultProps)for(o in r=e.defaultProps)void 0===n[o]&&(n[o]=r[o]);return{$$typeof:s,type:e,key:l,ref:d,props:n,_owner:i.current}}r.Fragment=n,r.jsx=l,r.jsxs=l},85893:(e,r,t)=>{e.exports=t(75251)},11151:(e,r,t)=>{t.d(r,{Z:()=>i,a:()=>a});var o=t(67294);const s={},n=o.createContext(s);function a(e){const r=o.useContext(n);return o.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),o.createElement(n.Provider,{value:r},e.children)}}}]);