Skip to main content

block

Method
This is a method of the HookResult class in the types module.
Create a block result.

Signature

def block(reason: str) -> 'HookResult'

Parameters

reason
str
required
No description available.

Returns

Returns
'HookResult'
The result of the operation.