powered by
Java-style function to compute the hashCode for the given object. Returns an integer value.
hashCode(key)
the object to be hashed
the hash code as an integer
This only works for integer, numeric and character types right now.
# NOT RUN { hashCode(1L) # 1 hashCode(1.0) # 1072693248 hashCode("1") # 49 # }
Run the code above in your browser using DataLab