Opened 7 years ago

Closed 4 years ago

#15451 closed enhancement (patchwelcome)

Bring back lang.getType

Reported by: dancrumb Owned by: Eugene Lazutkin
Priority: undecided Milestone: 1.13
Component: Core Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:

Description

Years ago, there was a lang.getType method.

This is an extremely useful function for comparing whether two values are comparable (i.e. are you both arrays?... both objects?...)

The code is actually already written (albeit needing a little updating to be AMD compatible): http://bugs.dojotoolkit.org/attachment/ticket/562/lang.common.2.diff

Change History (3)

comment:1 Changed 7 years ago by Eugene Lazutkin

Owner: set to Eugene Lazutkin
Status: newassigned

comment:2 Changed 4 years ago by dylan

Component: GeneralCore

comment:3 Changed 4 years ago by dylan

Milestone: tbd1.12
Resolution: patchwelcome
Status: assignedclosed

Given that no one has shown interest in creating a patch in the past 3+ years, I'm closing this as patchwelcome.

Note: See TracTickets for help on using tickets.