EXTENSION
ApolloExtension
public extension ApolloExtension where Base: Collection
Properties
isNotEmpty
var isNotEmpty: Bool
Convenience helper to make guard
statements more readable
- returns:
true
if the collection has contents.
isEmptyOrNil
var isEmptyOrNil: Bool
- returns:
true
if the collection is empty or nil
isNotEmpty
var isNotEmpty: Bool
- returns:
true
if the collection is non-nil AND has contents.
sha256Hash
public var sha256Hash: String
The SHA256 hash of the current string.