canPerform method

bool canPerform(
  1. Object c
)

Method to check ability to perform a object c - can be anything

Typically used only in Model

Implementation

bool canPerform(Object c) => c is C;