isSwift property
bool
isSwift
Checks if a file path or URL represents a Swift source file.
Implementation
bool get isSwift {
final mt = mimeType();
return mt == 'text/x-swift';
}
Checks if a file path or URL represents a Swift source file.
bool get isSwift {
final mt = mimeType();
return mt == 'text/x-swift';
}