typeof operand OR typeof (operand)
Input: typeof "geeksforgeeks" Output: string Input: typeof NaN Output: number NaN is also considered as a number.
string number boolean number object object object function undefined object
- Ternary operator vs Null coalescing operator in PHP
- PHP | $ vs $$ operator
- PHP 7 | Spaceship Operator
- Double not (!!) operator in PHP
- What is the difference between the | and || or operator in php?
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.