Returns an object with boolean properties indicating whether the given width matches the responsive breakpoints.

  • Parameters

    • width: number

      The width to check against the responsive breakpoints.

    Returns { isDesktop: boolean; isPhone: boolean; isTablet: boolean }

    • An object with the following properties:
      • isPhone: A boolean indicating whether the width matches the phone breakpoint.
      • isTablet: A boolean indicating whether the width matches the tablet breakpoint.
      • isDesktop: A boolean indicating whether the width matches the desktop breakpoint.