blitzcrank.util
code-in-region?
(code-in-region? code region)
Check if a code exists in the region
first-as-name
(first-as-name seq)
Return the first argument of a sequence as named
get-key-by-value
(get-key-by-value v collection)
Get a value from a collection by value
indicies
(indicies pred coll)
Test a predicate on a collection and return the indexes
map-to-query-string
(map-to-query-string map)
Convert a hash to a URL query string
not-nil?
(not-nil? x)
Checks if a value is not nil
region-code?
(region-code? x)
Check if x is a region code
region-codes
(region-codes)
region-to-proxy
(region-to-proxy code)
Find a regional proxy given a region code
regional-proxy?
(regional-proxy? x)
Check if x is a regional proxy identifier
subregions
(subregions proxy)
Get regions from a regional proxy
valid-api-key?
(valid-api-key? api-key)
Simple regex to verify if a key should be valid