Determines whether an object is an instance of a BoxLang interface or component, or of a Java class.
IsInstanceOf(object=[any], typename=[string])
Argument | Type | Required | Description | Default |
---|---|---|---|---|
object |
any |
true |
The CFC instance or Java object that you are testing | |
typename |
string |
true |
The name of the interface, component, or Java class of which the object might be an instance |
- ApplicationRestart
- ApplicationStartTime
- ApplicationStop
- BoxAnnounce
- BoxAnnounceAsync
- BoxRegisterInterceptor
- BoxRegisterRequestInterceptor
- CallStackGet
- CreateGUID
- CreateObject
- CreateUUID
- DE
- DebugBoxContexts
- Dump
- Duplicate
- echo
- EncodeForHTML
- GetApplicationMetadata
- GetBaseTagData
- GetBaseTagList
- GetBaseTemplatePath
- GetBoxContext
- GetBoxRuntime
- GetBoxVersionInfo
- GetClassMetadata
- GetComponentList
- GetContextRoot
- GetCurrentTemplatePath
- GetFileFromPath
- GetFunctionCalledName
- GetFunctionList
- GetModuleInfo
- GetModuleList
- GetRequestClassLoader
- GetSystemSetting
- GetTempDirectory
- GetTickCount
- htmlEditFormat
- IIF
- Invoke
- JavaCast
- ObjectDeserialize
- ObjectSerialize
- PagePoolClear
- Println
- RunThreadInContext
- SessionInvalidate
- SessionRotate
- SessionStartTime
- Sleep
- SystemCacheClear
- SystemExecute
- SystemOutput
- Throw
- Trace
- URLDecode
- URLEncodedFormat
- writeDump
- WriteLog
- WriteOutput