style: run format:apply
This commit is contained in:
+3
-2
@@ -18,10 +18,11 @@ export const cleanFolderName = (name: string): string =>
|
||||
|
||||
export const isKiller = (idx: number): boolean => idx >= 268435456;
|
||||
|
||||
export const isNamedDLC = (dlc: DLC): dlc is DLC & { name: string } => !!dlc.name && !dlc.name.startsWith('@');
|
||||
export const isNamedDLC = (dlc: DLC): dlc is DLC & { name: string } =>
|
||||
!!dlc.name && !dlc.name.startsWith('@');
|
||||
|
||||
export const randInRange = (min: number, max: number) => {
|
||||
const lo = Math.min(min, max);
|
||||
const hi = Math.max(min, max);
|
||||
return Math.floor(Math.random() * (hi - lo + 1)) + lo;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user