-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Labels
Description
currently we have a bunch of code that does things like
function is_type_x = {
if(something(ARGV[0]){
return(false)
}
true;
}
type type_x = string with is_type_x(SELF);this is typically used to make new types out of sub-types like
type type_xyz = string with {
if(is_type_x(SELF)) return(true);
....
}it would make a lot of sense to be able to test the type directly like
type type_xyz = string with {
if(is_type(type_x, SELF)) return(true);
....
}Reactions are currently unavailable