Table of Contents

Method IsCharacterMatch

Namespace
Gamelogic.Words
Assembly
Gamelogic.Words.dll

IsCharacterMatch(string, string, out bool)

Checks whether two characters match

public bool IsCharacterMatch(string character, string matchingChar, out bool consume)

Parameters

character string

The character we're checking

matchingChar string

The matching character

consume bool

Whether this character in the match must be consumed

Returns

bool

True if there is a match