Analysis¶
| Spice | |
|---|---|
Functions¶
isWhitespace¶
| Spice | |
|---|---|
Checks if the given character is a whitespace
Parameters
| Name | Type | Description |
|---|---|---|
c |
char |
Returns: bool — Is whitespace
isLower¶
| Spice | |
|---|---|
Checks if the given character is a lowercase alpha character
Parameters
| Name | Type | Description |
|---|---|---|
c |
char |
Returns: bool — Is lowercase alpha
isUpper¶
| Spice | |
|---|---|
Checks if the given character is a uppercase alpha character
Parameters
| Name | Type | Description |
|---|---|---|
c |
char |
Returns: bool — Is uppercase alpha
isAlpha¶
| Spice | |
|---|---|
Checks if the given character is a alpha character
Parameters
| Name | Type | Description |
|---|---|---|
c |
char |
Returns: bool — Is alpha
isAlphaUnderscore¶
| Spice | |
|---|---|
Checks if the given character is a alpha character or underscore
Parameters
| Name | Type | Description |
|---|---|---|
c |
char |
Returns: bool — Is alpha or underscore
isAlphaNum¶
| Spice | |
|---|---|
Checks if the given character is a alphanumeric character
Parameters
| Name | Type | Description |
|---|---|---|
c |
char |
Returns: bool — Is alphanumeric
isAlphaNumUnderscore¶
| Spice | |
|---|---|
Checks if the given character is a alphanumeric character or underscore
Parameters
| Name | Type | Description |
|---|---|---|
c |
char |
Returns: bool — Is alphanumeric or underscore
isDigit¶
| Spice | |
|---|---|
Checks if the given character is a digit
Parameters
| Name | Type | Description |
|---|---|---|
c |
char |
Returns: bool — Is digit
isDecDigit¶
| Spice | |
|---|---|
Checks if the given character is a decimal digit
Parameters
| Name | Type | Description |
|---|---|---|
c |
char |
Returns: bool — Is decimal digit
isHexDigit¶
| Spice | |
|---|---|
Checks if the given character is a hexadecimal digit
Parameters
| Name | Type | Description |
|---|---|---|
c |
char |
Returns: bool — Is hexadecimal digit
isOctDigit¶
| Spice | |
|---|---|
Checks if the given character is a octal digit
Parameters
| Name | Type | Description |
|---|---|---|
c |
char |
Returns: bool — Is octal digit
isBinDigit¶
| Spice | |
|---|---|
Checks if the given character is a binary digit
Parameters
| Name | Type | Description |
|---|---|---|
c |
char |
Returns: bool — Is binary digit
is¶
| Spice | |
|---|---|
Checks if the given character match an expected character
Parameters
| Name | Type | Description |
|---|---|---|
c |
char |
|
expected |
char |
Returns: bool — Is matching expected character
isBetween¶
| Spice | |
|---|---|
Checks if the given character is included in a range of characters
Parameters
| Name | Type | Description |
|---|---|---|
c |
char |
|
min |
char |
|
max |
char |
Returns: bool — Is between min and max