Init(args)
Scripting Reference
Loading...
Searching...
No Matches

◆ GetHasValue()

bool Sisus.Init.Any< T >.GetHasValue ( [AllowNull] Component client,
Context context = Context::MainThread )

Gets a value indicating whether the current Any<T> object has a non-null value when retrieved by the client in question in the given context .

Template Parameters
TClientType of the client checking the value.
Parameters
clientThe client checking the value.
contextThe context from which the checking is being made.

Some services might not be accessible in a Context.Threaded context.

Returns

true if the Any<T> object has a non-null value.

true if T is the defining type of a global service or a scene service that is accessible to the client in the current context .

Otherwise, false.