Sha256: 97ca51359125a9badb55344e10b4a39ba2432b27bcc1093a83030d3a6967cedb
Contents?: true
Size: 295 Bytes
Versions: 11
Compression:
Stored size: 295 Bytes
Contents
# frozen_string_literal: true module Kind module Lambda extend self, ::Kind::Object def kind; ::Proc; end def name; 'Lambda'; end def ===(value) value.kind_of?(::Proc) && value.lambda? end end def self.Lambda?(*values) KIND.of?(Lambda, values) end end
Version data entries
11 entries across 11 versions & 1 rubygems