You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now there is no "publicly" exposed function for inquiring as to the types available in a typed-function instance. (There is just ._findType exposed "for unit testing only".) There should be some standardized public API for asking about the types present, perhaps at least read-only access to the typeList, or some other API if it would be more sensible. It might also be nice to be able to ask a typed-function if an entity is in some type, in its opinion.
The text was updated successfully, but these errors were encountered:
Yes, good point. For example methods typed.getTypes() and typed.getConversions(). These should maybe return a clone of the internal types and conversions so you can't mess with them.
Right now there is no "publicly" exposed function for inquiring as to the types available in a typed-function instance. (There is just
._findType
exposed "for unit testing only".) There should be some standardized public API for asking about the types present, perhaps at least read-only access to thetypeList
, or some other API if it would be more sensible. It might also be nice to be able to ask a typed-function if an entity is in some type, in its opinion.The text was updated successfully, but these errors were encountered: