Replaces "istype"s with is_helpers macros (#28676)

This commit is contained in:
nicbn
2017-06-22 15:03:19 -03:00
committed by Leo
parent 4ac64a7014
commit 77a2d3f5cd
125 changed files with 192 additions and 184 deletions

View File

@@ -44,7 +44,7 @@ GLOBAL_PROTECT(VVpixelmovement)
else
. = VV_TYPE
else if (istype(var_value,/list))
else if (islist(var_value))
. = VV_LIST
else if (isfile(var_value))
@@ -528,7 +528,7 @@ GLOBAL_PROTECT(VVpixelmovement)
variable = input("Which var?","Var") as null|anything in names
if(!variable)
return
if(!O.can_vv_get(variable))
return
@@ -594,7 +594,7 @@ GLOBAL_PROTECT(VVpixelmovement)
switch(class)
if(VV_LIST)
if(!istype(var_value,/list))
if(!islist(var_value))
mod_list(list(), O, original_name, variable)
mod_list(var_value, O, original_name, variable)