Skip to content

hasService<T>(ctx, ref): boolean

判断服务是否已注册

Type Parameters ​

T ​

T

Parameters ​

ctx ​

MiokuContext

ref ​

ServiceRef<T>

Returns ​

boolean

Released under the MIT License with love.