Class: Typespec::Function

Inherits:
Object
  • Object
show all
Defined in:
lib/typespec.rb

Overview

Class Method Summary collapse

Class Method Details

.valid?(value) ⇒ Boolean

Returns:

  • (Boolean)


190
# File 'lib/typespec.rb', line 190

def self.valid?(value) value.respond_to?(:call); end