A

Admin • 828.03K Points
Coach

Q. Which of the following is used to check if a value is of a certain type?

  • (A) as
  • (B) is
  • (C) typeof
  • (D) instanceof
  • Correct Answer - Option(B)
  • Views: 12
  • Filed under category Swift (iOs)
  • Hashtags:

Explanation by: Admin
`is` is used for type checking in Swift.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.