stats

suspend fun FF4k.stats(): FeatureStats(source)

Get statistics about features.

Returns an aggregated FeatureStats snapshot of the current feature state. Useful for monitoring, debugging, and reporting.

Example:

val stats = ff4k.stats()
println("Total features: ${stats.total}")
println("Enabled: ${stats.enabled} / Disabled: ${stats.disabled}")
println("With permissions: ${stats.withPermissions}")
println("With strategy: ${stats.withStrategy}")
println("Groups: ${stats.groups}")

Return

aggregated feature statistics