DuAEF.DuJS

Useful JavaScript tools

Namespaces

Array

Color

Date

Fs

Math

Number

RegExp

String

Version

Methods

static typeof(exp) → {string}

Improved typeof which returns the type of object instead of 'object'
Parameters:
Name Type Description
exp any The expression to check.
Returns:
string - The type. For primitives, in lower case ('string', 'number', 'boolean', 'null', 'undefined')