Static
absentassigns a single value as array, or appends it to an existing value mapping a single value to array
usage myConfig.append("foobaz").value = "newValue" myConfig.append("foobaz").value = "newValue2"
resulting in myConfig.foobaz == ["newValue, newValue2"]
Rest
...accessPath: string[]appends to an existing entry (or extends into an array and appends) if the condition is met
Rest
...accessPath: string[]assigns a new value on the given access path
Rest
...accessPath: any[]assign a value if the condition is set to true, otherwise skip it
the condition, the access accessPath into the config
Rest
...accessPath: any[]simple match, if the first order function call returns true then there is a match, if the value is not present it never matches
the first order function performing the match
elvis like typesafe functional save resolver a typesafe option for getIfPresent
usage myOptional.resolve(value => value.subAttr.subAttr2).orElseLazy(....) if this is resolvable without any errors an Optional with the value is returned if not, then an Optional absent is returned, also if you return Optional absent it is flatmapped into absent
the resolver function, can throw any arbitrary errors, int the error case the resolution goes towards absent
Static
fromGenerated using TypeDoc
Config, basically an optional wrapper for a json structure (not Side - effect free, since we can alter the internal config state without generating a new config), not sure if we should make it side - effect free since this would swallow a lot of performance and ram