Determine if input is a non-null object with a numeric size property.
input
size
isSizeAware(new Set([1, 2])); // trueisSizeAware({}); // false Copy
isSizeAware(new Set([1, 2])); // trueisSizeAware({}); // false
Determine if
inputis a non-null object with a numericsizeproperty.