Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Instance Method

has(_:)

Look up whether or not an instance of the supplied type has been authenticated.
func has<A>(_ type: A.Type = A.self) -> Bool where A : Authenticatable

Parameters

type

The authenticatable type to look up

Return Value

true if an instance of the given type is available, false otherwise