countImportAliases

Returns the number of import aliases that satisfies the specified predicate present in the declaration.

Return

The number of import aliases in the declaration.

Parameters

predicate

The predicate function to determine if a import alias satisfies a condition.