Adding type and value checking functions to built-ins

Changes:
- Added several type and value checking functions