nl_tokens: Check that all categories in a given list are valid category objects .
pl_tokens: function isValidCategoriesArray ( categories ) { for ( let i = 0 ; i < categories . length ; i ++ ) { if ( ! isValidProductCategory ( categories [ i ] ) ) { // Short-circuit the loop and return now. return false ; } } return <mask> ; }