method
matchMedia

MediaQueryList matchMedia(
String query
)

Returns a list of media queries for the given query string.

Other resources