File.matches()

Usage

Source

File.matches(*patterns)