getOrNull<R extends T> method

R? getOrNull<R extends T>()
inherited

Same as getByTagOrNull, but accepts type R.

Implementation

R? getOrNull<R extends T>() => getAll<R>().firstOrNull;