Avatar
あんまり好きじゃない挙動の1つですね。
5:08 PM
任意の値をclassかどうか判別するのに type(of: someValue) is AnyObject.Type で見ないといけない