diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-01-06 11:07:42 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-01-06 11:07:42 +0900 |
| commit | 86548f6468217f45d0b59a04e6283492a1eef0bf (patch) | |
| tree | 64c76889cc1a9aeb9931b79270072def265a23c0 /src/api/common | |
| parent | Mobile: Fix design glitch :art: (diff) | |
| download | sharkey-86548f6468217f45d0b59a04e6283492a1eef0bf.tar.gz sharkey-86548f6468217f45d0b59a04e6283492a1eef0bf.tar.bz2 sharkey-86548f6468217f45d0b59a04e6283492a1eef0bf.zip | |
Refactor: Extract isNativeToken method
Diffstat (limited to 'src/api/common')
| -rw-r--r-- | src/api/common/is-native-token.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/common/is-native-token.ts b/src/api/common/is-native-token.ts new file mode 100644 index 0000000000..0769a4812e --- /dev/null +++ b/src/api/common/is-native-token.ts @@ -0,0 +1 @@ +export default (token: string) => token[0] == '!'; |