Sha256: 6eac43267af9ac4c6d1e33f37726630ca8f429e03987e66aae4d2e7a49d48527

Contents?: true

Size: 256 Bytes

Versions: 4

Compression:

Stored size: 256 Bytes

Contents

# frozen_string_literal: true

module Kind
  module Module
    extend self, TypeChecker

    def kind; ::Module; end

    def ===(value)
      Kind.of_module?(value)
    end
  end

  def self.Module?(*values)
    KIND.of?(::Kind::Module, values)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kind-5.1.0 lib/kind/core/type_checkers/ruby/module.rb
kind-5.0.0 lib/kind/type_checkers/core/module.rb
kind-4.1.0 lib/kind/type_checkers/core/module.rb
kind-4.0.0 lib/kind/type_checkers/core/module.rb