contains

fun contains(zoom: Double, minZoom: Float?, maxZoom: Float?): Boolean

Whether zoom falls inside [minZoom, maxZoom].

Bounds are inclusive and either end may be null, meaning unbounded.