src/EastAsianWidthDotNet/EastAsianWidth.cs
/// <summary>
/// Indicates whether this character is Full Width by specifying whether it is East Asia.
/// </summary>
/// <param name="value"></param>
/// <param name="isEastAsia"></param>
/// <returns></returns>
Indicates whether this character is Full Width by specifying whether it is East Asia.
Indicates whether this character is Full Width by specifying whether it is East Asia .
public bool IsFullWidth(char value, bool isEastAsia)
        {
            switch (GetKind(value))
            {
                case EastAsianWidthKind.Ambiguous:
                    return isEastAsia;
                case EastAsianWidthKind.FullWidth:
                case EastAsianWidthKind.Wide:
                    return true;
                default:
                    return false;
            }
        }
public bool IsFullWidth ( char value , bool isEastAsia ) { switch ( GetKind ( value ) ) { case EastAsianWidthKind . Ambiguous : return isEastAsia ; case EastAsianWidthKind . FullWidth : case EastAsianWidthKind . Wide : return true ; default : return false ; } }
Indicates whether this character is Full Width by specifying whether it is East Asia.
Indicates whether this character is Full Width by specifying whether it is East Asia .
None
value
char
None
isEastAsia
bool
None