mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-23 04:23:35 +00:00
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