pub fn has_sub_ability_api(api: ApiType) -> impl Fn(&SpellAbility) -> boolExpand description
Returns a predicate that matches spell abilities whose sub-ability chain
contains an ability with the given API type.
Mirrors Java’s SpellAbilityPredicates.hasSubAbilityApi(ApiType).