Powered by Zoomin Software. For more details please contactZoomin

Rule Language

Size of collection

  • Last Updated: October 26, 2026
  • 1 minute read
    • Corticon
    • Version 7.3
    • Documentation

SYNTAX

<Collection> ->size

Returns the Integer number of elements in <Collection>. <Collection> must be expressed as a unique alias.

The Operators row of the table in Summary Table of Vocabulary Usage Restriction applies. No special exceptions.

This sample Rulesheet uses ->size to count the number of elements in collection1, and assign a value to boolean2. Note the use of unique alias collection1 to represent the collection of Entity2 associated with Entity1.

A sample Ruletest provides three examples of collection1. Input and Output panels are shown below.

Alert