@supuwoerc/toolkit
    Preparing search index...

    Function isWindow

    • 判断值是否为浏览器 window 对象

      Determine whether a value is the browser window object.

      Parameters

      • val: any

        待判断的值 / value to check

      Returns boolean

      如果是 window 返回 true / true if value is window