3
src/tools/config/wrapper-finder.ts
Normal file
3
src/tools/config/wrapper-finder.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import { ConfigType } from '~/types/config';
|
||||
|
||||
export const getLowestWrapper = (config: ConfigType) => config?.wrappers.sort((a, b) => a.position - b.position)[0];
|
||||
Reference in New Issue
Block a user