CFML Reference
|
|
ColdFusion Functions
|
IsObject
Description
Determines whether a value is an object.
Return value
True, if the value is an object whose attributes match the specified values; False, otherwise.
The basic ColdFusion types are as follows:
- simple: integer, string, float, date, and so on
- structure
- array
- user defined function
Category
Decision functions
Syntax
IsObject(value [, type [, ... ]])
See also
IsDate,
IsQuery
History
New in ColdFusion MX: This function is new.
Parameters
Parameter |
Description |
value
|
A value
|
type
|
String; a type name; data type of the argument.
- any
- array
- binary
- boolean
- date
- guid
- numeric
- query
- string
- struct
- uuid
- variableName
- a component name
If the value is not a recognized type, ColdFusion processes it as a component name
|
component-specific parameter
|
See the Usage section.
|
Usage
This function can take other, context-specific arguments; for example, classPath
, server
. For a component, the parameter name is componentName
.
This object returns False for query and XML objects.
Comments