geary
0.22.11
common
geary-core
/
com.mineinabyss.geary.helpers
/
nullOrError
null
Or
Error
inline
fun
<
T
:
Component
?
>
Entity
.
nullOrError
(
)
:
T
Gets a component of type
T
from an entity, returning null if
T
is nullable, or an error otherwise.