Skip to content

Stable API Naming

Choose a tag to compare

@dchambers dchambers released this 16 Oct 20:00
· 36 commits to master since this release

As part of this release, we've made the following improvements:

  • topiarist.implement() has now been renamed to topiarist.hasImplemented().
  • A new topiarist.implement() method has been created that works the same as the old one, but which can be invoked immediately after the constructor — it instead becomes a signal of intent, allowing isA() checks to immediately pass, where verification is delayed until after a class has had a chance to implement any interface methods.
  • topiarist.isAssignableFrom() was renamed to topiarist.classIsA(), but is also still available under
    the old name.
  • topiarist.export() was renamed to topiarist.exportTo(), but is also still available under
    the old name.