tracker issue : CF-3042843

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 85157:(Watson Migration Closure)Summary: typeof() functionIt'd be handy for me to have a function typeOf(), which can take any value as an argument and return a string identifying the datatype of the variable

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/

Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)

Created: 11/24/2010

Components: Language, Functions

Versions: 9.0.1

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Minor / Unknown

Locale/System: English / Platforms All

Vote Count: 1

Problem:

Summary: typeof() functionIt'd be handy for me to have a function typeOf(), which can take any value as an argument and return a string identifying the datatype of the variable.  eg:typeOf("some string") => "string"typeOf(1+1) => "integer"typeOf(1*1) => "float"typeOf(structNew()) => "struct"typeOf(someObject) = "dotted.path.to.object.cfc"-- Adam
Method:


Result:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3042843

External Customer Info:
External Company:  
External Customer Name: Adam Cameron
External Customer Email: 17EB1A7649DA54C7992015A9
External Test Config: 11/24/2010

Attachments:

Comments: