MediaQueryList.Matches

MediaQueryList.Matches property

A boolean value that returns true if the document currently matches the media query list, or false if not.

public bool Matches { get; }

See Also