stationMatches

fun stationMatches(station: Station, options: Map<String, Any>): Boolean

Returns true if the given station's options match the given option query.

Return

true if the station matches

See also

Parameters

station

station to test

options

map of key/value pairs to test against

fun stationMatches(station: Station, key: String, value: Any?): Boolean

Return true if the given station's options match the given key/value pair.

Return

true if the station matches

See also

Parameters

station

station to test

key

key for station option to test against

value

desired match for station option