Singleton<T>.HasInstance

Static Property in Singleton<T>

Declaration

public static bool HasInstance { get; }

Description

Checks if the singleton has been initialized and an instance is available to use.

Returns

boolTrue if an instance is available, false otherwise.