PassHandlerFunction typedef

FutureOr<bool> PassHandlerFunction (
  1. CommandContext context
)

Used to determine if command can be executed in given environment. Return true to allow executing command or false otherwise.

Implementation

typedef PassHandlerFunction = FutureOr<bool> Function(CommandContext context);