# isDocument

判断是否为 document 根节点

import { isDocument } from '@hui-pro/utils';
isDocument(unknown);

# API

参数 说明 类型 默认值 可选值
unknown 需判断的内容 - - -