nl_tokens: Take and yield the first N items in an iterable sequence
pl_tokens: function take ( count ) { return function * ( iterable ) { let i = 0 ; for ( const item of iterable ) { if ( i >= <mask> ) { return ; } yield item ; i = i + 1 ; } } ; }