# All files / src/_utils isIE11.ts

75% Statements 3/4
33.33% Branches 1/3
100% Functions 1/1
75% Lines 3/4

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    1016x
    54x

    54x

     export function isIE11() {
      Iif (typeof window === 'undefined') {
        return false
      }

      return (
        !!(window as any).MSInputMethodContext && !!(document as any).documentMode
      )
    }