mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-02 20:10:32 +00:00
Added type checking functions
added some type checking functions to TorqueScript.
This commit is contained in:
parent
014b566014
commit
39d5563a8c
2 changed files with 216 additions and 0 deletions
16
Engine/source/console/consoleFunctions.h
Normal file
16
Engine/source/console/consoleFunctions.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef _CONSOLFUNCTIONS_H_
|
||||
#define _CONSOLFUNCTIONS_H_
|
||||
|
||||
#ifndef _STRINGFUNCTIONS_H_
|
||||
#include "core/strings/stringFunctions.h"
|
||||
#endif
|
||||
|
||||
bool isInt(const char* str);
|
||||
|
||||
bool isFloat(const char* str);
|
||||
|
||||
bool isValidIP(const char* ip);
|
||||
|
||||
bool isValidPort(U16 port);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue