function _isRegExp($object)
{
    return Underscore::isRegExp($object);
}
Exemplo n.º 2
0
 /**
  * @tags objects
  */
 public function testIsRegExp()
 {
     $this->boolean(_::isRegExp('/\\w+/mi'))->isTrue();
     $this->boolean(_::isRegExp('w+'))->isFalse();
 }