Important: This documentation applies to v2 of this package.
For v3 docs see vpic.shaggytech.com

Module

utils/getTypeof

Methods

# static getTypeof(value) → {string}

Gets type of value using Object.prototype.toString.call(value).

Parameters:
Name Type Description
value any

Any kind of value (string, object, array, function, etc).

View Source utils/getTypeof.ts, line 14

  • Type of value, normalized to a lowercase string.
string