isType
Checks to see if the provided item is a valid type match
Lang.isType(expr, object)
Checks to see if the provided item is a valid type match
Parameters
-
expr
{String} a String version of the 'type' you're looking to check for a match
-
object
{String|Array|Function|Object} the item you're checking against
Returns
{Boolean}
will return true if thing is a valid match. Otherwise it will return false.