OpenWGA 7.9 - TMLScript reference
CollectionResultMethod :
contains(context)
| On object | CollectionResult |
| Usage |
contains(ctx) takes a WGContext object as parameter and checks if this context is contained in the collection result. |
| Description | This method has been introduced in version 7.7.1 |
| Parameters |
WGContext |
| Return value | true | false |
| Allowed in script types |
|
| Examples |
WGA.nav().children().contains(context("name:something"))
|