You could also use: `args.text.shift()` 
Or, as this expression returns the value of the item being removed, you could even use this expression in the `type` method instead of `args.text[0]`.