Rhino.ScriptRuntime.IsRhinoRuntimeType C# (CSharp) Method

IsRhinoRuntimeType() public static method

public static IsRhinoRuntimeType ( Type cl ) : bool
cl System.Type
return bool
		public static bool IsRhinoRuntimeType(Type cl)
		{
			if (cl.IsPrimitive)
			{
				return (cl != typeof(char));
			}
			else
			{
				return (cl == StringClass || cl == BooleanClass || NumberClass.IsAssignableFrom(cl) || ScriptableClass.IsAssignableFrom(cl));
			}
		}
ScriptRuntime