public static string SafeBoolToString(this Editor.GenericParameter parameter, int index)
 {
     parameter.EnsureBoolItem(index);
     return(parameter.boolsList[index] ? "true" : "false");
 }
 public static bool SafeBool(this Editor.GenericParameter parameter, int index)
 {
     parameter.EnsureBoolItem(index);
     return(parameter.boolsList[index]);
 }