has<T> method

bool has<T>({
  1. String? tag,
})

Alias for exists. Checks if a dependency exists in the scope.

This is a convenience alias that provides consistent verb naming across the Zenify API (get/put/remove/has).

Implementation

bool has<T>({String? tag}) => exists<T>(tag: tag);