Added Undef.nqp
[kakapo:kakapo.git] / src / Undef.nqp
1 # Copyright (C) 2009, Austin Hastings. See accompanying LICENSE file, or 
2 # http://www.opensource.org/licenses/artistic-license-2.0.php for license.
3
4 module Undef;
5 =module
6
7 Provides missing methods to Undef PMC.
8
9 =method defined
10
11 Returns false.
12
13 =method isa
14
15 Translates method call to vtable lookup.
16
17 =end
18
19 method defined()                        { 0 }
20 method isa($type)                       { Parrot::isa(self, $type); }