fileMatchesMask (method)
Checks whether a particular file or directory name matches the specified mask.
Syntax
- (BOOL)fileMatchesMask:(NSString*)mask :(NSString*)fileName :(BOOL)caseSensitive;
public func fileMatchesMask(_ mask: String, _ fileName: String, _ caseSensitive: Bool) throws -> Bool
Remarks
This method checks whether the file or directory name specified by FileName matches Mask; if it does, this method returns true. The CaseSensitive parameter controls whether a case-sensitive match should be performed.