misskey/src/server/api/common/is-native-token.ts

2 lines
57 B
TypeScript
Raw Normal View History

2019-04-08 13:29:52 +02:00
export default (token: string) => token.startsWith('0');