isLoading

fun isLoading(progress: Int? = null): Boolean

Indicates that the plan is in a Loading state.

Return

true if the plan is loading (optionally with specific progress), otherwise false.

Parameters

progress

optional specific loading progress to check. If null, ignores the value.