reflect

func reflect<T>(_: T)

Produce a mirror for any value. If the value's type conforms to Reflectable, invoke its getMirror() method; otherwise, fall back to an implementation in the runtime that structurally reflects values of any type.

Declaration

func reflect<T>(x: T) -> MirrorType