v8.startupSnapshot.isBuildingSnapshot()
返回上层文档
新增于: v18.6.0, v16.17.0
返回:
<boolean>
如果运行 Node.js 实例来构建快照,则返回 true。
【Returns true if the Node.js instance is run to build a snapshot.】