From 86548f6468217f45d0b59a04e6283492a1eef0bf Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 6 Jan 2017 11:07:42 +0900 Subject: Refactor: Extract isNativeToken method --- src/api/common/is-native-token.ts | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/api/common/is-native-token.ts (limited to 'src/api/common') 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] == '!'; -- cgit v1.2.3-freya