• params: key – string
  • return: value if it exists and can be converted to specified type, otherwise