(assert-not-empty-patterns compiled-patterns)
Assert that compiled-patterns
has at least one Pattern for each Profile,
and that at least one Profile exists.
Assert that `compiled-patterns` has at least one Pattern for each Profile, and that at least one Profile exists.
(assert-not-empty-templates compiled-templates)
Assert that compiled-templates
has at least one Template.
Assert that `compiled-templates` has at least one Template.
(assert-profile profile)
Assert that profile
conforms to the xAPI spec, or else throw an
exception. The ex-data contains an :errors
map that is the return
value of pan/validate-profile
.
Assert that `profile` conforms to the xAPI spec, or else throw an exception. The ex-data contains an `:errors` map that is the return value of `pan/validate-profile`.
(assert-profile-ids profiles)
Assert that the Profile IDs do not clash, or else throw an exception.
Assert that the Profile IDs do not clash, or else throw an exception.
(assert-profile-pattern-ids profiles)
Assert that the Profiles' Pattern IDs do not clash, or else throw an exception.
Assert that the Profiles' Pattern IDs do not clash, or else throw an exception.
(assert-profile-template-ids profiles)
Assert that the Profiles' Template IDs do not clash, or else throw an exception.
Assert that the Profiles' Template IDs do not clash, or else throw an exception.
(assert-template template)
Assert that template
conforms to the xAPI spec, or else throw an
exception. The ex-data contains an :errors
map that is the s/explain-data
result of :pan.objects.template/template
.
Assert that `template` conforms to the xAPI spec, or else throw an exception. The ex-data contains an `:errors` map that is the `s/explain-data` result of `:pan.objects.template/template`.
(assert-template-ids templates)
Assert that the Template IDs do not clash, or else throw an exception.
Assert that the Template IDs do not clash, or else throw an exception.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close