Skip to content

Commit d611dbf

Browse files
committed
Add explain-desc docstring
1 parent b8307d7 commit d611dbf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/cljfx/dev.clj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,12 @@
345345
(wrap-type->lifecycle (some-fn fx/keyword->lifecycle fx/fn->lifecycle)))
346346

347347
(defn explain-desc
348+
"Validate cljfx description and report any issues
349+
350+
Args:
351+
type->lifecycle the type->lifecycle fn used in opts of your app
352+
type->id custom type->id if you need a way to get id from your
353+
custom lifecycles"
348354
([desc]
349355
(explain-desc desc *type->lifecycle* *type->id*))
350356
([desc type->lifecycle]

0 commit comments

Comments
 (0)