Operator

!=(_:_:)

Returns a Boolean value indicating whether two types are not identical.

Declaration

func != (t0: Any.Type?, t1: Any.Type?) -> Bool

Parameters

t0

A type to compare.

t1

Another type to compare.

Return Value

true if one, but not both, of t0 and t1 are nil, or if they represent different types; otherwise, false.

See Also

Querying Runtime Values

struct Mirror

A representation of the substructure and display style of an instance of any type.

struct ObjectIdentifier

A unique identifier for a class instance or metatype.

func type<T, Metatype>(of: T) -> Metatype

Returns the dynamic type of a value.

func == (Any.Type?, Any.Type?) -> Bool

Returns a Boolean value indicating whether two types are identical.