You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
293 B

extends "../base.gd"
func _init(value, type: int, context: String) -> void:
self.success = (typeof(value)) == type
self.context = context
var string_type = type2str(type)
self.result = "%s %s %s" % [value, ("is builtin type: " if self.success else "is not builtin type: "), string_type]