Preparing search index...
The search index is not available
@shopify/cli-kit
@shopify/cli-kit
node/os
platformAndArch
Function platformAndArch
platformAndArch
(
platform
?:
Platform
,
arch
?:
Architecture
,
)
:
{
arch
:
PlatformArch
;
platform
:
PlatformStrings
}
Returns the platform and architecture.
Parameters
platform
:
Platform
= process.platform
arch
:
Architecture
= process.arch
Returns
{
arch
:
PlatformArch
;
platform
:
PlatformStrings
}
Returns the current platform and architecture.
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@shopify/cli-kit
Loading...
Returns the platform and architecture.