NullSafety

Null safety utilities for robot components.

Author

Lucas Bubner, 2023

Since

1.0.0-pre

See also

Functions

Link copied to clipboard
open fun assertComponentArgs(@NonNull componentName: String, @NonNull excludeClassName: String, @NonNull objs: Array<Any>): Boolean
Ensure a component is safe to instantiate by checking for null objects.
Link copied to clipboard
open fun assertNotNull(@NonNull objs: Array<Any>): Boolean
open fun assertNotNull(@NonNull objs: List<Any>): Boolean
Ensure that all objects are not null.