Skip to content

Commit

Permalink
Remove newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
gasi-signal committed Apr 27, 2018
1 parent b86f9c0 commit 6ee56b8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ts/types/MIME.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
export type MIMEType = string & { _mimeTypeBrand: any };

export const isJPEG = (value: MIMEType): boolean => value === 'image/jpeg';

export const isImage = (value: MIMEType): boolean => value.startsWith('image/');

export const isVideo = (value: MIMEType): boolean => value.startsWith('video/');

export const isAudio = (value: MIMEType): boolean => value.startsWith('audio/');

0 comments on commit 6ee56b8

Please sign in to comment.