Skip to content

@pumpkin-plugins/static-hermes-runtime API / wit/names / enumValue

Function: enumValue() ​

enumValue(apiPackage, type, value): string

Defined in: wit/names.ts:60

Build the wit-bindgen C constant for one enum, flags or variant case of a named WIT type.

Parameters ​

apiPackage ​

WitApiPackage

type ​

WitOwnedType

value ​

string

Returns ​

string

pumpkin-plugins documentation