descTag
Return the default string description of an object.
import { descTag } from '@aedart/support/misc';
descTag('foo'); // [object String]
descTag(3); // [object Number]
descTag([1, 2, 3]); // [object Array]
descTag(true); // [object Boolean]
// ... etc
The method is a shorthand for the following:
Object.prototype.toString.call(/* your value */);
See Mozilla's documentation for additional information.