-
init<T>(_ instance: T)
: Create a Reflexivity object from an object's instance.
-
func typeName() -> String?
: Return the type of instance passed at init(instance:)
as String. Nil is returned if an error occurred.
-
func parent() -> Reflexivity?
: Return the parent's type of instance passed at init(instance:)
as String. Nil is returned if an error occurred.
-
static func typeName<T>(_ instance: T) -> String
: Return the type of instance as String. Nil is returned if an error occurred.
-
static func parentType<T>(_ instance: T) -> String?
: Return the parent's type of instance as String. Nil is returned if an error occurred.