src/basilisp/lang/multifn.py
def get_method(self, key: T) -> Optional[Method]:
        """Return the method which would handle this dispatch key or
        None if no method defined for this key and no default."""
        method_cache = self.methods
        # The 'type: ignore' comment below silences a spurious MyPy error
        # about having a return statement in a method which does not return.
        return Maybe(method_cache.entry(key, None)).or_else(
            lambda: method_cache.entry(self._default, None)  # type: ignore
        )
def get_method(self, key: T) -> Optional[Method]:
        """Return the method which would handle this dispatch key or
        None if no method defined for this key and no default."""
        method_cache = self.methods
        # The 'type: ignore' comment below silences a spurious MyPy error
        # about having a return statement in a method which does not return.
        return Maybe(method_cache.entry(key, None)).or_else(
            lambda: method_cache.entry(self._default, None)  # type: ignore
        )
def get_method ( self , key : T ) -> Optional [ Method ] : method_cache = self . methods # The 'type: ignore' comment below silences a spurious MyPy error # about having a return statement in a method which does not return. return Maybe ( method_cache . entry ( key , None ) ) . or_else ( lambda : method_cache . entry ( self . _default , None ) # type: ignore )
Return the method which would handle this dispatch key or
        None if no method defined for this key and no default.
Return the method which would handle this dispatch key or None if no method defined for this key and no default .