vm.isContext(object)


新增于: v0.11.7

如果给定的 object 对象已使用 vm.createContext() contextified,或者它是使用 vm.constants.DONT_CONTEXTIFY 创建的上下文的全局对象,则返回 true

\Returns true if the given object object has been contextified using vm.createContext(), or if it's the global object of a context created using vm.constants.DONT_CONTEXTIFY.

AltStyle によって変換されたページ (->オリジナル) /