Skip to main content

is_api

pub fn is_api(api: ApiType) -> impl Fn(&SpellAbility) -> bool
Expand description

Returns a predicate that matches spell abilities with the given API type. Mirrors Java’s SpellAbilityPredicates.isApi(ApiType).