This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
func introspectThing(instance: Any) { | |
let mirror = reflect(instance) | |
func findDisposition(mirror : Mirror) -> String { | |
var returnValue = "" | |
switch mirror.disposition { | |
case .Aggregate: | |
returnValue = "Aggregate" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am corvino on github. | |
* I am corvino (https://keybase.io/corvino) on keybase. | |
* I have a public key whose fingerprint is F9AA C48A D74D 057F 4DE6 7497 B46F A9C4 C920 8C1A | |
To claim this, I am signing this object: |