Documentation for method configure_type_checking

Documentation for method configure_type_checking, assembled from the following types:

class Metamodel::Primitives

From Metamodel::Primitives

(Metamodel::Primitives) method configure_type_checking

method configure_type_checking(
    Mu $type,
    @cache,
    :$authoritative = True,
    :$call_accepts = False
)

Configures the type checking for $type. @cache is a list of known types against which $type checks positively (so in a classical class-based system, the type itself and all recursive superclasses). If :authoritative is missing or True, this type will fail checks against all types not in @cache. If :call_accepts is True, the method ACCEPTS will be called for type checks against this type.