bundles / IPython 9.18.0.dev / IPython / core / magic / validate_type
function
IPython.core.magic:validate_type
source: /IPython/core/magic.py:160
Signature
def validate_type(magic_kind: str) → NoneSummary
Ensure that the given magic_kind is valid.
Extended Summary
Check that the given magic_kind is one of the accepted spec types (stored in the global magic_spec), raise ValueError otherwise.
Aliases
IPython.core.magic.validate_type