cast_int_or_str

lsst.ts.observatory.control.cast_int_or_str(value: Any) Union[int, str]

Return an int or a string.

Parameters:
valueint or str

A value to be cast as integer or string.

Returns:
int or str

Recasted value.