mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
4 lines
115 B
TypeScript
4 lines
115 B
TypeScript
const stripLeadingSlash = (str: string) => str[0] === '/' ? str.slice(1) : str;
|
|
|
|
export default stripLeadingSlash;
|