/
Hex Operators

Hex Operators

The following operators are valid for hexadecimal values

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.

 

 

Related content

Universal Operators
Universal Operators
More like this
Bitwise Operators
Bitwise Operators
More like this
Number Operators
Number Operators
More like this
Operators
Operators
More like this
Arithmetic Expressions
Arithmetic Expressions
More like this
math
More like this

Copyright Picolabs | Licensed under Creative Commons.