Python has „dir(object)“ to show what properties and methods an object has, and „help(object)“ to show the „docstring“ (the first comment after the object defintion, which documents the object). Is there something similar for the Swift REPL?
Hello Ikem!
I don't think there is a similar function to those in Swift, at least I don't know! Correct me, someone, if I'm wrong!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Python has „dir(object)“ to show what properties and methods an object has, and „help(object)“ to show the „docstring“ (the first comment after the object defintion, which documents the object). Is there something similar for the Swift REPL?
Hello Ikem!
I don't think there is a similar function to those in Swift, at least I don't know! Correct me, someone, if I'm wrong!