is() публичный статический Метод

It is just an estimation.
public static is ( string $text ) : boolean
$text string Input text to be tested
Результат boolean
Пример #1
0
Файл: Body.php Проект: jyxo/php
 /**
  * Returns if the contents is in HTML format.
  *
  * @return boolean
  */
 public function isHtml() : bool
 {
     return \Jyxo\Html::is($this->main);
 }