MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / isInSet

Function isInSet

engine/source/string/stringUnit_ScriptBinding.h:292–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292static bool isInSet(char c, const char *set)
293{
294 if (set)
295 while (*set)
296 if (c == *set++)
297 return true;
298
299 return false;
300}
301
302/*! Use the nextToken function to get the first token found in tokenList, where tokens are separated by the character(s) specified in delimeter.
303 The token itself is stored in a variable whose name is specified in tokenVar. This function provides complex power in a simple package.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected