LiskArchive / lisk-sdk

🔩 Lisk software development kit
https://lisk.com
Apache License 2.0
2.72k stars 456 forks source link

Rename `isValidName(...)` to `isValidChainName(...)` #7776

Closed sitetester closed 11 months ago

sitetester commented 2 years ago

Description

export const isValidName = (username: string): boolean => /^[a-z0-9!@$&_.]+$/g.test(username);

At some point, we should rename isValidName((...) to be more specific like isValidChainName(...),

Motivation

Additional Information

shuse2 commented 11 months ago

Closing this issue for no activity