We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c9f7d4 commit 80eeceeCopy full SHA for 80eecee
lib/sqids.ex
@@ -52,6 +52,10 @@ defmodule Sqids do
52
53
## Guards
54
55
+ # It is an expensive check, however it's the only way to check that a list is
56
+ # proper from within a guard.
57
+ #
58
+ # credo:disable-for-next-line Credo.Check.Warning.ExpensiveEmptyEnumCheck
59
defguardp is_proper_list(v) when length(v) >= 0
60
61
## API Functions
0 commit comments