as_salRetCode

lsst.ts.salobj.as_salRetCode(value: Union[int, lsst.ts.salobj.sal_enums.SalRetCode]) Union[int, lsst.ts.salobj.sal_enums.SalRetCode]

Convert an int (or SalRetCode) to a SalRetCode.

Return the original value if no match.