Sha256: b7e9405546a84e378d69f9ca3cfb87d9325b868ec07788696378a80c3410e26d
Contents?: true
Size: 398 Bytes
Versions: 1
Compression:
Stored size: 398 Bytes
Contents
# typed: strict # frozen_string_literal: true require 'sorbet-runtime' require_relative 'konstruo/version' require_relative 'konstruo/mapper' module Konstruo class ValidationError < StandardError; end class Boolean extend T::Sig sig { params(value: T.untyped).returns(Boolean) } def self.boolean?(value) value.is_a?(TrueClass) || value.is_a?(FalseClass) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
konstruo-1.0.1 | lib/konstruo.rb |