{
    "content": [
        {
            "type": "text",
            "text": "# Specio::Constraint::Intersection (perldoc)\n\n## NAME\n\nSpecio::Constraint::Intersection - A class for intersection constraints\n\n## SYNOPSIS\n\nmy $type = Specio::Constraint::Untion->new(...);\n\n## DESCRIPTION\n\nThis is a specialized type constraint class for intersections, which will allow a value which\nmatches each one of several distinct types.\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **API**\n- **ROLES**\n- **SUPPORT**\n- **SOURCE**\n- **AUTHOR**\n- **COPYRIGHT AND LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Specio::Constraint::Intersection",
        "section": "",
        "mode": "perldoc",
        "summary": "Specio::Constraint::Intersection - A class for intersection constraints",
        "synopsis": "my $type = Specio::Constraint::Untion->new(...);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "API",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "ROLES",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SUPPORT",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SOURCE",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND LICENSE",
                "lines": 8,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Specio::Constraint::Intersection - A class for intersection constraints\n",
                "subsections": []
            },
            "VERSION": {
                "content": "version 0.47\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "my $type = Specio::Constraint::Untion->new(...);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This is a specialized type constraint class for intersections, which will allow a value which\nmatches each one of several distinct types.\n",
                "subsections": []
            },
            "API": {
                "content": "This class provides all of the same methods as Specio::Constraint::Simple, with a few\ndifferences:\n\nSpecio::Constraint::Intersection->new( ... )\nThe \"parent\" parameter is ignored if it passed, as it is always \"undef\"\n\nThe \"inlinegenerator\" and \"constraint\" parameters are also ignored. This class provides its own\ndefault inline generator subroutine reference.\n\nFinally, this class requires an additional parameter, \"of\". This must be an arrayref of type\nobjects.\n\n$union->of\nReturns an array reference of the individual types which makes up this intersection.\n",
                "subsections": []
            },
            "ROLES": {
                "content": "This class does the Specio::Constraint::Role::Interface and Specio::Role::Inlinable roles.\n",
                "subsections": []
            },
            "SUPPORT": {
                "content": "Bugs may be submitted at <https://github.com/houseabsolute/Specio/issues>.\n\nI am also usually active on IRC as 'autarch' on \"irc://irc.perl.org\".\n",
                "subsections": []
            },
            "SOURCE": {
                "content": "The source code repository for Specio can be found at <https://github.com/houseabsolute/Specio>.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Dave Rolsky <autarch@urth.org>\n",
                "subsections": []
            },
            "COPYRIGHT AND LICENSE": {
                "content": "This software is Copyright (c) 2012 - 2021 by Dave Rolsky.\n\nThis is free software, licensed under:\n\nThe Artistic License 2.0 (GPL Compatible)\n\nThe full text of the license can be found in the LICENSE file included with this distribution.\n",
                "subsections": []
            }
        }
    }
}