module Kind::Nil

Public Class Methods

===(value) click to toggle source
# File lib/kind/objects/nil.rb, line 13
def self.===(value)
  value.nil?
end
name() click to toggle source
# File lib/kind/objects/nil.rb, line 9
def self.name
  'nil'
end
|(another_kind) click to toggle source
# File lib/kind/objects/nil.rb, line 5
def self.|(another_kind)
  UnionType[self] | another_kind
end