blockly > ContextMenuRegistry > RegistryItem > preconditionFn

ContextMenuRegistry.RegistryItem.preconditionFn property

Signature:

preconditionFn: (p1: Scope) => string;