as_salRetCode

lsst.ts.salobj.as_salRetCode(value: int | lsst.ts.salobj.sal_enums.SalRetCode) int | lsst.ts.salobj.sal_enums.SalRetCode

Convert an int (or SalRetCode) to a SalRetCode.

Return the original value if no match.