From 73cf280ad5328492bd36c5df50792b1826d60e5c Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Wed, 2 Aug 2023 12:03:02 +0200 Subject: [PATCH] add the option for having [value] or value --- .../org/domaindrivenarchitecture/activity_pub_poc/owl.cljc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/cljc/org/domaindrivenarchitecture/activity_pub_poc/owl.cljc b/src/main/cljc/org/domaindrivenarchitecture/activity_pub_poc/owl.cljc index 86fce47..b3acfe6 100644 --- a/src/main/cljc/org/domaindrivenarchitecture/activity_pub_poc/owl.cljc +++ b/src/main/cljc/org/domaindrivenarchitecture/activity_pub_poc/owl.cljc @@ -33,8 +33,7 @@ (some? elem) (or (not (coll? elem)) - (and (vector? elem) (= 1 (count elem))) - (and (list? elem) (= 1 (count elem)))))) + (and (sequential? elem) (= 1 (count elem)))))) (s/def ::FunctionalProperty functional?) ;http://www.w3.org/2002/07/owl#DeprecatedProperty