https://raz0r.name/mysli/proveryajte-tip-dannyx/
Проверяйте тип данных