研究调查问卷:请告诉我们您使用 Blockly 的体验
开始调查问卷
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
blockly >屏蔽 >isInMutator
Block.isInMutator 属性
Signature:
isInMutator: boolean;
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003e\u003ccode\u003eisInMutator\u003c/code\u003e is a property of the \u003ccode\u003eBlock\u003c/code\u003e class in Blockly that indicates whether the block is currently inside a mutator.\u003c/p\u003e\n"],["\u003cp\u003eThis property's value is a boolean, where \u003ccode\u003etrue\u003c/code\u003e signifies the block's presence within a mutator and \u003ccode\u003efalse\u003c/code\u003e indicates it is not.\u003c/p\u003e\n"]]],["The `Block.isInMutator` property is a boolean value associated with a Block object. This property indicates whether the block is currently within a mutator workspace. If `isInMutator` is `true`, the block resides inside a mutator; if `false`, it is not. This is useful for determining the block's operational context within the Blockly environment.\n"],null,["[blockly](./blockly.md) \\\u003e [Block](./blockly.block_class.md) \\\u003e [isInMutator](./blockly.block_class.isinmutator_property.md)\n\nBlock.isInMutator property\n--------------------------\n\n**Signature:** \n\n isInMutator: boolean;"]]