--- title: "selectedAny" slug: "app-selectedany" updated: 2025-11-06T19:12:36Z published: 2025-11-06T19:12:36Z canonical: "docs.doc-know.com/app-selectedany" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.doc-know.com/llms.txt > Use this file to discover all available pages before exploring further. # selectedAny ### app.selectedAny Returns whether or not **any** of the specified app object(s) have a valid value. ### Input Parameters | Name | Type | Required | Description | | --- | --- | --- | --- | | **tokensOrNames** | Text | Yes | Comma-separated list of app object token(s) and/or name(s) | ### Returns Type: **Boolean** Returns whether or not **any** of the specified app object(s) have a valid value. ### Examples ``` // check if either object [10] or object [15] is selected var all = app.selectedAny("[10], [15]"); debug.log(all); ``` ### Remarks This function is useful if you need to test whether or not at least one app object within a group currently has a valid value. Token Syntax This function uses the native app **object token syntax**, which refers to the ID of an object within your app that is enclosed in square brackets. Example: [10]