Forum

discord.js - show d...
 
Notifications
Clear all

discord.js - show diferrence betwen roles array

1 Posty
1 Users
0 Reactions
1,255 Widok
0
Topic starter

node.js

1 Answer
0
Topic starter
	var result3 = _(old_roles) 
        .differenceBy(new_roles, 'id','name')
        .map(_.partial(_.pick, _, 'id','name'))
        .value();

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: