Refactor: Extract isNativeToken method
This commit is contained in:
parent
733b3d8132
commit
86548f6468
3 changed files with 5 additions and 2 deletions
1
src/api/common/is-native-token.ts
Normal file
1
src/api/common/is-native-token.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export default (token: string) => token[0] == '!';
|
||||
Loading…
Add table
Add a link
Reference in a new issue