Rhino.ScriptRuntime.IsPrimitive C# (CSharp) Method

IsPrimitive() public static method

public static IsPrimitive ( object obj ) : bool
obj object
return bool
		public static bool IsPrimitive(object obj)
		{
			return obj == null || obj == Undefined.instance || (obj is Number) || (obj is string) || (obj is bool);
		}
ScriptRuntime