Contents Menu Expand Light mode Dark mode Auto light/dark mode
phantom-types 1.2.2 documentation
phantom-types 1.2.2 documentation
  • Getting Started
  • Types
  • Predicates and factories
  • Composing types
  • Functional composition
  • External wrappers
  • Pydantic Support
  • Implementation
Back to top

phantom-types#

This is the documentation of phantom-types, a library that let’s you arbitrarily narrow builtin types, without any runtime overhead. Full documentation and reference is available here, you will hopefully find what you’re looking for in the sections below.

Documentation sections#

  • Getting Started
  • Types
  • Predicates and factories
  • Composing types
  • Functional composition
  • External wrappers
  • Pydantic Support
  • Implementation
Next
Getting Started
Copyright © 2020-2022, Anton Agestam
Made with Sphinx and @pradyunsg's Furo
On this page
  • phantom-types
    • Documentation sections