Checks if the given object has the given number of properties.
hasPropCount({ wer: 'asd' }, 1); // true hasPropCount({}, 5); // false
The object to check.
The number of properties to expect.
Whether the object has the number of properties.
Generated using TypeDoc
Checks if the given object has the given number of properties.
hasPropCount({ wer: 'asd' }, 1); // true hasPropCount({}, 5); // false