Function

class_isMetaClass(_:)

Returns a Boolean value that indicates whether a class object is a metaclass.

Declaration

func class_isMetaClass(_ cls: AnyClass!) -> Bool

Parameters

cls

A class object.

Return Value

true if cls is a metaclass, false if cls is a non-meta class, false if cls is Nil.