Sha256: 287d7430ba6981ff5b561ff1fa4636a1a8bb20181a0ff699d5683121e12799ea
Contents?: true
Size: 277 Bytes
Versions: 1259
Compression:
Stored size: 277 Bytes
Contents
# frozen_string_literal: true module Playbook module Props class NumberArray < Playbook::Props::Base def validate(value) return false unless value.is_a?(::Array) return false if value.empty? value.all?(Integer) end end end end
Version data entries
1,259 entries across 1,259 versions & 1 rubygems