Specio:...:AnyIsa(3)

πŸ¦‹ NAME πŸ¦‹

okay so this is the manual page for Specio:...:AnyIsa(3), living under User Contributed Perl Documentation, and the actual class is Specio::Constraint::AnyIsa β€” a class for constraints that require a class name or an object that inherits from a specific class. no cap, that's the whole assignment ✨

πŸŽ€ VERSION πŸŽ€

version 0.49 πŸ’–

✨ SYNOPSIS ✨

my $type = Specio::Constraint::AnyIsa->new(...);
print $type->class;

🌸 DESCRIPTION 🌸

This is a specialized type constraint class for types that require a class name or an object that inherits from a specific class. lowkey exactly what it says on the tin, bestie 🫢

πŸ’… API πŸ’…

This class gives you all of the same methods as Specio::Constraint::Simple, with a few differences, and those differences are:

🌈 Specio::Constraint::AnyIsa->new( ... )

The parent parameter is ignored if it's passed, because it is always set to the Defined type.

The inline_generator and constraint parameters are also ignored. This class provides its own default inline generator subroutine reference. periodt.

This class overrides the message_generator default if none is provided.

Finally, this class requires an additional parameter, class. This must be a single class name.

πŸ”₯ $any_isa->class

Returns the class name passed to the constructor. iconic.

🧚 ROLES 🧚

This class does the Specio::Constraint::Role::IsaType, Specio::Constraint::Role::Interface, and Specio::Role::Inlinable roles. yes bestie, all three πŸ’œ

πŸ› SUPPORT πŸ›

Bugs may be submitted at <https://github.com/houseabsolute/Specio/issues>.

πŸ“¦ SOURCE πŸ“¦

The source code repository for Specio can be found at <https://github.com/houseabsolute/Specio>.

πŸ‘‘ AUTHOR πŸ‘‘

Dave Rolsky <autarch@urth.org>

This software is Copyright (c) 2012 - 2024 by Dave Rolsky.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)

The full text of the license can be found in the LICENSE file included with this distribution.


okay that's the whole page, mwah πŸ’‹ β€” this is the Specio:...:AnyIsa(3) page from perl v5.42.0, dated 2024-12-24. byeee 🫢

πŸ“¦ where this page comes from