LimitAction

ContextActions. LimitAction

An action "limit" that limits the current selected concepts to a given count, starting from first or last

Constructor

new LimitAction()

Source:
Examples
//Limit concepts to 1, starting from first
{
    "limit": {
        "count": 1,
        "last": false
    }
}
//Limit concepts to 1, starting from first (shorthand version)
{
    "limit": 1
}
//Limit concepts to 2, starting from last
{
    "limit": {
        "count": 2,
        "last": true
    }
}