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

2 lines
57 B
TypeScript
Raw Normal View History

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