Black Trigram (흑괘) - Korean Martial Arts Combat Simulator API - v0.6.9
    Preparing search index...

    Function testScreenSize

    • Test screen size determination for validation

      Useful for testing and debugging responsive breakpoints. Screen size is determined by width (breakpoints), but height is included in the result for testing portrait/landscape orientations.

      Parameters

      • width: number

        Viewport width to test

      • height: number

        Viewport height to test

      Returns ScreenSizeTestResult

      Test result with screen size and device type flags

      const result = testScreenSize(768, 1024);
      console.log(result.screenSize); // 'tablet'
      console.log(result.isTablet); // true
      console.log(result.isMobile); // false

      화면크기테스트