MENU
    selectedAll
    • 30 Oct 2020
    • 1 Minute to read
    • Contributors
    • Dark
    • PDF

    selectedAll

    • Dark
    • PDF

    Article summary

    Description

    Returns whether or not all of the specified app objects have valid values.


    Input Parameters

    NameTypeRequiredDescription
    tokensOrNamesTextYesComma-seperated list of app object token(s) and/or name(s)

    Returns

    Type: Boolean

    Returns whether or not all of the specified app objects have a valid value.


    Examples

    // check if both objects [10] and [15] are selected
    var all = app.selectedAll("[10], [15]");
    debug.log(all);
    JavaScript

    Remarks

    This function is useful if you need to test whether or not a group of objects all currently have valid values.

    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]


    What's Next