isHexadecimal

Returns true if the string contains only hexadecimal chars, false otherwise.

Description

bool isHexadecimal()

Return Value

bool
Whether or not $str contains only hexadecimal chars