From 156a6f4e027ebd9b836f2fa5595891d87e11e103 Mon Sep 17 00:00:00 2001 From: Edwin Vermeer Date: Mon, 29 Aug 2016 08:39:53 +0200 Subject: [PATCH] minor update to pull request no case insensitive compare needed, no compare with true or false needed --- EVReflection/pod/EVReflection.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EVReflection/pod/EVReflection.swift b/EVReflection/pod/EVReflection.swift index d8b87613..a0449c66 100644 --- a/EVReflection/pod/EVReflection.swift +++ b/EVReflection/pod/EVReflection.swift @@ -755,7 +755,7 @@ final public class EVReflection { } } - if (value is NSArray) == false && (typeInObject ?? "").lowercaseString.containsString("array") == true { + if !(value is NSArray) && (typeInObject ?? "").containsString("Array") { value = NSArray(array: [value]) }