allSubschemas

allSubschemas(subs: SchemaColl input);

The allSubschemas method of the Schema class recursively adds all subschemas of the receiving schema to the collection specified in the subs parameter. The collection is not cleared before instances are added.

As this method is recursive, all schemas below the receiving schema (both direct and indirect descendants) are returned.