mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:41:34 +08:00
More robust checks
This commit is contained in:
@@ -323,7 +323,7 @@ export default class Utility {
|
||||
}
|
||||
|
||||
/** @param {String} value */
|
||||
static formatStringName(value) {
|
||||
static formatStringName(value = "") {
|
||||
return value
|
||||
// Remove leading b (for boolean values) or newlines
|
||||
.replace(/^\s*b/, "")
|
||||
|
||||
Reference in New Issue
Block a user