{
    "content": [
        {
            "type": "text",
            "text": "# Type::Tiny::XS (perldoc)\n\n## NAME\n\nType::Tiny::XS - provides an XS boost for some of Type::Tiny's built-in type constraints\n\n## SYNOPSIS\n\nuse Types::Standard qw(Int);\n\n## DESCRIPTION\n\nThis module is optionally used by Type::Tiny 0.04503 and above to provide faster, C-based\nimplementations of some type constraints. (This package has only core dependencies, and does not\ndepend on Type::Tiny, so other data validation frameworks might also consider using it!)\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **BUGS**\n- **SEE ALSO**\n- **AUTHOR**\n- **COPYRIGHT AND LICENCE**\n- **DISCLAIMER OF WARRANTIES**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Type::Tiny::XS",
        "section": "",
        "mode": "perldoc",
        "summary": "Type::Tiny::XS - provides an XS boost for some of Type::Tiny's built-in type constraints",
        "synopsis": "use Types::Standard qw(Int);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 30,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND LICENCE",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "DISCLAIMER OF WARRANTIES",
                "lines": 4,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Type::Tiny::XS - provides an XS boost for some of Type::Tiny's built-in type constraints\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Types::Standard qw(Int);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This module is optionally used by Type::Tiny 0.04503 and above to provide faster, C-based\nimplementations of some type constraints. (This package has only core dependencies, and does not\ndepend on Type::Tiny, so other data validation frameworks might also consider using it!)\n\nOnly the following three functions should be considered part of the supported API:\n\n\"Type::Tiny::XS::getcodereffor($type)\"\nGiven a supported type constraint name, such as \"Int\", returns a coderef that can be used to\nvalidate a parameter against this constraint.\n\nReturns undef if this module cannot provide a suitable coderef.\n\n\"Type::Tiny::XS::getsubnamefor($type)\"\nLike \"getcodereffor\" but returns the name of such a sub as a string.\n\nReturns undef if this module cannot provide a suitable sub name.\n\n\"Type::Tiny::XS::isknown($coderef)\"\nReturns true if the coderef was provided by Type::Tiny::XS.\n\nIn addition to the above functions, the subs returned by \"getcodereffor\" and \"getsubnamefor\"\nare considered part of the \"supported API\", but only for the lifetime of the Perl process that\nreturned them.\n\nTo clarify, if you call \"getsubnamefor(\"ArrayRef[Int]\")\" in a script, this will return the\nname of a sub. That sub (which can be used to validate arrayrefs of integers) is now considered\npart of the supported API of Type::Tiny::XS until the script finishes running. Next time the\nscript runs, there is no guarantee that the sub will continue to exist, or continue to do the\nsame thing.\n",
                "subsections": []
            },
            "BUGS": {
                "content": "Please report any bugs to <http://rt.cpan.org/Dist/Display.html?Queue=Type-Tiny-XS>.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Type::Tiny, Types::Standard.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Toby Inkster <tobyink@cpan.org> forked all this from Mouse::Util::TypeConstraints.\n\nArrayLike, HashLike, CodeLike, and StringLike constraints based on code by ikegami on\nStackOverflow.\n\n<https://stackoverflow.com/a/64019481/1990570>.\n",
                "subsections": []
            },
            "COPYRIGHT AND LICENCE": {
                "content": "This software is copyright (c) 2014, 2018-2020 by Toby Inkster.\n\nThis is free software; you can redistribute it and/or modify it under the same terms as the Perl\n5 programming language system itself.\n",
                "subsections": []
            },
            "DISCLAIMER OF WARRANTIES": {
                "content": "THIS PACKAGE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\nWITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.\n",
                "subsections": []
            }
        }
    }
}