Creates a compare function which binds the namespaces within the two given objects.

This function is valid in v2.6.0 to v2.7.0. This function has been downloaded 0 times.


{Array} namespaces
An array of namespaces to compare. Each namespace can be an array of strings and/or numbers, a string or a number. The order of the namespaces will determine the order in which the comparison occurs.
{boolean=} opt_negate Optional, Default:false
Specifies whether or not the comparison value should be negated.


A comparison function with the namespaces to be checked bound within the function.

Required Functions

This function directly requires the following functions which are included automatically:

  • compare()
    Simple compare function typically use in sorting.
  • getNS()
    Gets the value under the given root object and namespace.
  • isArray()
    Determines if the given value is of type Array as specified by typeOf().