Dev2.Util.JsonNetValueSystem.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 !(value is JObject) && !(value is JArray);
        }