hasCore method

bool hasCore(
  1. String key
)

Check if a Core is registered or not.

  • Param key - the Multiton key for the Core.
  • Returns bool - whether a Core is registered with the given key.

Implementation

static bool hasCore(String key) {
  return (instanceMap[key] != null);
}