Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The following operators are valid for hexadecimal values

Table of Contents

toHexOrNull()

Takes a value as an argument. If the argument is a number it is converted to a string matching the regex /^[A-F0-9]+$/ with the hexadecimal value of the number. Arguments of any other type return null.