Provides access to a capsule's configuration. This includes both values defined in the capsule.properties
file and values defined in the Configuration & Secrets screen.
var config = require('config')
import config from 'config'
The following sections describe the available methods within this module. Each section includes a table that lists the parameters for that method, as well as the parameter's type and description.
Look up a property value in the capsule's current configuration mode
Kind: Static method of config
Returns: String
- The value of the property in the current configuration mode, or null
if no property value is set
Access: Public
Parameter | Type | Description |
---|---|---|
property | String | The property key |
Copyright 2024 Samsung All rights reserved