feat: get author on series
This commit is contained in:
@@ -100,3 +100,7 @@ const resourcePrefixes = Object.values(resources).map((v) => v.prefix).filter(
|
||||
);
|
||||
export const isLocalImage = (src: string) =>
|
||||
resourcePrefixes.some((p) => src.startsWith(p));
|
||||
|
||||
export const isString = (input: string | undefined): input is string => {
|
||||
return typeof input === "string";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user