Assert that input has a numeric size property.
input
size
assertIsSizeAware(new Set([1, 2, 3])); // does not throwassertIsSizeAware(42); // throws TypeError: input is not size aware Copy
assertIsSizeAware(new Set([1, 2, 3])); // does not throwassertIsSizeAware(42); // throws TypeError: input is not size aware
Assert that
inputhas a numericsizeproperty.