typeOf()
typeOf()
typeOf()const typeOf = (value: any): string =>
Object.prototype.toString.call(value).slice(8, -1).toLowerCase();Parameters
value: any
value: anyReturns
Example usage
Last updated
typeOf()const typeOf = (value: any): string =>
Object.prototype.toString.call(value).slice(8, -1).toLowerCase();value: anyLast updated
// Example usage.
import { typeOf } from '@angular-package/type';