Class IsDefined
java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.decision.IsDefined
-
Field Summary
Fields inherited from class ortus.boxlang.runtime.bifs.BIF
__functionName, __isMemberExecution, asyncService, cacheService, componentService, declaredArguments, functionService, interceptorService, moduleService, runtime
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_invoke
(IBoxContext context, ArgumentsScope arguments) Determine whether a given variable reference exists.Methods inherited from class ortus.boxlang.runtime.bifs.BIF
announce, getDeclaredArguments, invoke
-
Constructor Details
-
IsDefined
public IsDefined()Constructor
-
-
Method Details
-
_invoke
Determine whether a given variable reference exists.For example:
isDefined( "luis" )
will test for the existence of anlmajano
variable in any accessible scope.isDefined( "variables.foo" )
will test for the existence of afoo
variable in thevariables
scope.isDefined( "brad.age" )
will test for the existence of anage
key in thebrad
struct, in any accessible scope
-