Updating extension

This commit is contained in:
Ryan Coyne 2017-11-30 12:29:53 -05:00
parent 7c3313af70
commit d81a777954
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ extension Optional {
}
/// This returns the optionally wrapped object as an array of dictionaries...value.
var arrayDicValue : [[String:Any]]! {
return self as? [[String:Any]] ?? [[:]]
return self as? [[String:Any]] ?? []
}
/// This returns the optionally wrapped object as an integer value.
var intValue : Int? {