as_cubble function

Coerce foreign objects into a cubble object