Method: String#is_int?
- Defined in:
- lib/openc3/core_ext/string.rb
#is_int? ⇒ Boolean
Returns Whether the String represents an integer.
198 199 200 |
# File 'lib/openc3/core_ext/string.rb', line 198 def is_int? if INT_CHECK_REGEX.match?(self) then true else false end end |