Method isSame documentation

Checks whether the data contained in the given objects is identical.

Example

```javascript bbn.fn.isSame( {name: "Wonka", fname: "Willy"}, {fname: "Willy", name: "Wonka"} ); // true ```

Example

```javascript // Doesn't take into account properties starting with non-alphanumeric characters bbn.fn.isSame( {name: "Wonka", fname: "Willy", _bbn_timestamp: 1587269593987}, {fname: "Willy", name: "Wonka"} ); // true ```

Example

```javascript bbn.fn.isSame( {name: "Wonka", fname: "Willy", real: false}, {fname: "Willy", name: "Wonka"} ); // false ```

Checks whether the data contained in the given objects is identical. - The properties starting with a non alphanumerical character and the inherited ones are removed for the comparison, then the properties are compared individually without the order being taken into account. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.