bigloo.foreign.ucs2_definedp C# (CSharp) Method

ucs2_definedp() public static method

public static ucs2_definedp ( int c ) : bool
c int
return bool
        public static bool ucs2_definedp( int  c )
        {
            // !!!!! i.e. between 0x0000 and 0xFFFF :  have to look for a better implementation
            return ((Char.MinValue <= c) && (c <= Char.MaxValue));
        }
foreign