features

Builds a list of Feature instances using the FF4K Kotlin DSL.

This function allows you to define multiple features in a nested DSL block. Use feature(uid) {} inside the block to add individual features.

Example

val features = features {
feature("dark-mode") {
isEnabled = true
}
feature("beta-features") {
group = "experimental"
}
}

Return

List of fully built Feature instances

Parameters

block

DSL block to configure FeaturesBuilder with multiple features