ProcessPlatform

Process Platform

Describes, in terms familiar to Node, the current operating system ("platform").

Parameters

symbol

Node API symbol expected for this platform type.

Entries

Link copied to clipboard

The Linux platform.

Link copied to clipboard

The macOS platform.

Link copied to clipboard

The Windows platform.

Types

Link copied to clipboard

Static methods for dealing with Node-style platform declarations.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val symbol: String

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.