DeclareDefaults

DeclareDefaults[class,association]
uses the keys and values in association to be the declared keys and their default values for the symbol class.

DetailsDetails

  • The symbol class in DeclareDefaults[class,association] has to have been declared a class using DeclareClass.
  • DeclareDefaults can be used to redefine defaults for a child class, which are otherwise inherited from the child class' parents.