isValid method

bool isValid(
  1. String name
)

Check if a command exists.

Implementation

bool isValid(String name) => get(name) != null;