JSON::TypeInference::Type::Maybe - maybe type
JSON::TypeInference::Type::Maybe represents a possibility whether a value type exists or not.
JSON::TypeInference::Type::Maybe
The type consists of a value type and JSON::TypeInference::Type::Null.
JSON::TypeInference::Type::Null
It is a container type, and has a type parameter.
looks_like_maybe($candidate_types: ArrayRef[JSON::TypeInference::Type]); # => Bool
Returns whether the given types conform to JSON::TypeInference::Type::Maybe structure.
aereal <aereal@aereal.org>
To install JSON::TypeInference, copy and paste the appropriate command in to your terminal.
cpanm
cpanm JSON::TypeInference
CPAN shell
perl -MCPAN -e shell install JSON::TypeInference
For more information on module installation, please visit the detailed CPAN module installation guide.