Every object descended from Object inherits the hasOwnProperty method. This method can be used to determine whether an object has the specified property as a direct property of that object; unlike the in operator, this method does not check down the object's prototype chain.
This function is valid in
v2.0.0 to v2.22.1.
This function has been downloaded 47 times.
Object whose property will be tested.
Name of the property to test.
A boolean indicating whether the object has the specified property as own (not inherited) property.
This function directly requires the following function which is included automatically:
Creates a function wrapper that calls the function with the given name in the given context.
This function is directly required by the following functions:
Creates a chained version of a value.
Creates or augments an object, making new properties that correspond to values in the given array. Each property added will indicate how many items in the array corresponding to those property names.
Creates a CSS stylesheet from an JSON representation of a stylesheet.
Creates HTML DOM objects.
Adds extra properties to an object based on the properties owned by other specified objects.
Traverses all the characters in a string or all of the elements in an array or an array-like object, executing a function on each one.
Runs through all of the properties of an object, executing a function for each property found.
Get the value of the specified property name.
Takes an array and groups the items together based on a given hasher function.
Traverses an array and returns an object with the values from the array placed in the specified indices.
Determines if an array, arguments list, other type of list or collection is empty. Also can be used on objects to ensure that it doesn't have any properties explicitly set.
Parses a URL to get the parameters specified in the query string.
Creates a copy of the given array making each item the value of the given property name.
Takes an array and returns a new array with some or all of the original values not usually in the same order.
Creates a new array with the items in a random order.
Substitute values into strings where the corresponding placeholders have been entered.