Method: String#is_hex?
- Defined in:
- lib/openc3/core_ext/string.rb
#is_hex? ⇒ Boolean
Returns Whether the String represents a hexadecimal number.
203 204 205 |
# File 'lib/openc3/core_ext/string.rb', line 203 def is_hex? if HEX_CHECK_REGEX.match?(self) then true else false end end |