cast_int_or_str#

lsst.ts.observatory.control.cast_int_or_str(value)#

Return an int or a string.

Parameters:

value (int or str) – A value to be cast as integer or string.

Returns:

Recasted value.

Return type:

int or str