getConfigOrDefault: Get a value from the config or return the default

Description Usage Arguments Value Examples

Description

Get a value from the config or return the default

Usage

1
getConfigOrDefault(config, key, default)

Arguments

config

The configuration list

key

The key to look for

default

The default

Value

The key if found or the default

Examples

1
getConfigOrDefault(configure(), "port", 8888)

bobjansen/mattR documentation built on May 9, 2019, 9:57 p.m.