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 abd3cec commit 3bf44cfCopy full SHA for 3bf44cf
src/StatisticalTraits.jl
@@ -190,7 +190,7 @@ for trait in TRAITS
190
end
191
192
193
-## INFO STUB FOR QUERYING TRAITS
+## METHOD STUB FOR LISTING ALL TRAITS OF AN OBJECT
194
195
"""
196
info(X)
@@ -201,7 +201,8 @@ traits that are meaninful for the object.
201
*Note on overloading.* This method can be overloaded directly, as in
202
`info(X::SomeAbstractType) = ...` or, using `info(X,
203
::Val{:some_trait}) = ...` where `:some_trait` is a key of
204
-`ScientificTypes.TRAIT_FUNCTION_GIVEN_NAME`.
+`ScientificTypes.TRAIT_FUNCTION_GIVEN_NAME` (such as `:is_measure`
205
+with value `is_measure`).
206
207
208
info(X) = info(X, Val(ScientificTypes.trait(X)))
0 commit comments