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.

8 lines
318 B

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