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