styleSourceExists

abstract fun styleSourceExists(@NonNull sourceId: String): Boolean

Checks whether a given style source exists.

Return

`true` if the given source exists, `false` otherwise.

Parameters

sourceId

A style source identifier.