dexorder
This commit is contained in:
5
lib_openzeppelin_contracts/test/helpers/strings.js
Normal file
5
lib_openzeppelin_contracts/test/helpers/strings.js
Normal file
@@ -0,0 +1,5 @@
|
||||
module.exports = {
|
||||
// Capitalize the first char of a string
|
||||
// Example: capitalize('uint256') → 'Uint256'
|
||||
capitalize: str => str.charAt(0).toUpperCase() + str.slice(1),
|
||||
};
|
||||
Reference in New Issue
Block a user