objects(_:)

public func objects<Element: Object>(_ type: Element.Type) -> Results<Element>

Returns all objects of the given type stored in the Realm.