You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2022/01/07 07:35:14 UTC

[royale-docs] branch master updated: added hasDefinitionWithName

This is an automated email from the ASF dual-hosted git repository.

harbs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git


The following commit(s) were added to refs/heads/master by this push:
     new 4799c48  added hasDefinitionWithName
4799c48 is described below

commit 4799c48bdf4c98b0122f0c32f1549a72156b4611
Author: Harbs <ha...@in-tools.com>
AuthorDate: Fri Jan 7 09:34:48 2022 +0200

    added hasDefinitionWithName
---
 features/reflection-introspection.md | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/features/reflection-introspection.md b/features/reflection-introspection.md
index 4acd5ec..fa81eab 100644
--- a/features/reflection-introspection.md
+++ b/features/reflection-introspection.md
@@ -102,6 +102,9 @@ var className:String = getQualifiedSuperclassName(loader);
 trace(className); // Displays flash.events::EventDispatcher
 ```
 
+### hasDefinitionWithName
+Checks if a name is defined and will return a valid result when calling `getDefinitionByName`.
+
 ### getDefinitionByName
 
 If you have a class or function name, you can retrieve a reference to it with `getDefinitionByName()`. Provide a string parameter specifying a fully qualified class or function name and the function and `getDefinitionByName()` returns its Object type.