hasValidPartDirectiveFor abstract method

bool hasValidPartDirectiveFor(
  1. String extension
)

Returns true if the input library has a part directive for the given extension.

This is useful for determining if a part file with the given extension is already included in the library, avoiding duplicate part directives.

@param extension The extension to check for in part directives @return True if a part directive exists for a file with the given extension

Implementation

bool hasValidPartDirectiveFor(String extension);