isHex() public static method

Returns true if value is a valid hexadecimal format, false otherwise.
public static isHex ( mixed $value ) : boolean
$value mixed
return boolean
Beispiel #1
0
 /**
  * Generated from @assert ('F6') === TRUE.
  */
 public function testIsHex2()
 {
     $this->assertSame(true, Inspekt::isHex('F6'));
 }