Method NextIf
NextIf(Char)
If the current character is expected
, then offset is advanced after it and any
subsequent whitespace. Otherwise, false is returned.
Declaration
public virtual bool NextIf(char expected)
Parameters
Type | Name | Description |
---|---|---|
System.Char | expected | The expected char |
Returns
Type | Description |
---|---|
System.Boolean | true if consumed |