logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Attean::API::TermOrVariable - Role representing terms and variables

Author

       Gregory Todd Williams  "<gwilliams@cpan.org>"

Bugs

       Please  report  any   bugs   or   feature   requests   to   through   the   GitHub   web   interface   at
       <https://github.com/kasei/attean/issues>.

Description

       This is a Moo role that both terms and variables consume, and is used as a constraint for nodes in triple
       and quad patterns.

Methods

       equals( $other )
           Returns true if the referent and $other are value-equal, false otherwise.

       "is_bound"
           Returns  true  if  the referent is bound. Note that in pattern matching, "undef" may also be used, so
           typically, you would need to check

             if (defined($term) && $term->is_bound) { ...

           to check.

Name

       Attean::API::TermOrVariable - Role representing terms and variables

See Also

Synopsis

         use v5.14;
         use Attean;

Version

       This document describes Attean::API::TermOrVariable version 0.035

See Also