OpenWGA 7.11 - 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"))
|