Dev2.Util.JsonPathContext.BasicValueSystem.IsPrimitive C# (CSharp) Method

IsPrimitive() public method

public IsPrimitive ( object value ) : bool
value object
return bool
            public bool IsPrimitive(object value)
            {
                if (value == null)
                    throw new ArgumentNullException("value");

                return Type.GetTypeCode(value.GetType()) != TypeCode.Object;
            }