Preparing search index...
The search index is not available
@shopify/cli-kit
@shopify/cli-kit
node/os
platformAndArch
Function platformAndArch
platform
And
Arch
(
platform
?
,
arch
?
)
:
{
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.
arch
:
PlatformArch
platform
:
PlatformStrings
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
@shopify/cli-kit
Loading...
Returns the platform and architecture.