Class IsObject
java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.decision.IsObject
-
Field Summary
Fields inherited from class ortus.boxlang.runtime.bifs.BIF
__functionName, __isMemberExecution, asyncService, cacheService, componentService, declaredArguments, functionService, interceptorService, logger, moduleService, runtime, schedulerService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_invoke(IBoxContext context, ArgumentsScope arguments) Determines whether a value is an object.static booleanSee aboveMethods inherited from class ortus.boxlang.runtime.bifs.BIF
announce, getDeclaredArguments, invoke
-
Constructor Details
-
IsObject
public IsObject()Constructor
-
-
Method Details
-
_invoke
Determines whether a value is an object.True conditions are:
- Box Class instances are "objects"
- All other classes that represent a Boxlang type are NOT "objects" (query, array, struct, XML, etc)
- These JDK classes which are used for "simple" BoxLang types are also not "objects" (String, Number, Boolean)
- Every other Java class is an "object"
-
isObject
See above- Parameters:
obj- The value to test- Returns:
- True if the value is an object, false otherwise.
-