Use startsWith and endsWith for readability
This commit is contained in:
@ -1 +1 @@
|
||||
export default (token: string) => token[0] == '!';
|
||||
export default (token: string) => token.startsWith('!');
|
||||
|
Reference in New Issue
Block a user