Sha256: e22df1604b93b9b7af9cd7d0b7eb1b5d5220edd6ffce7b94292ebffef31dd054

Contents?: true

Size: 214 Bytes

Versions: 1

Compression:

Stored size: 214 Bytes

Contents

# frozen_string_literal: true

# @api public
# @since 0.1.0

SmartCore::Types::Value.define_type(:Any) do |type|
  type.define_checker do |value|
    true
  end

  type.define_caster do |value|
    value
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
smart_types-0.0.0 lib/smart_core/types/value/any.rb