# Functions
GetApiUrl returns a url from the settings map, normalized to end in /api/
param m: The settings map
param urlName: The name of the url setting in the map
Returns empty string is urlName is not found in the map.
GetAuth gets an auth token.
Returns the normalized url for the caster api.
Returns the normalized url for the player api.
Returns the normalized url for the vm api.
PairInList returns true if a given key/value pair exists somewhere in a list of maps.
StrSliceContains returns true if a string slice contains a given string.
Ternary returns a if the condition is true and b otherwise.
ToStringSlice converts a slice of empty interfaces to a slice of strings.