Limits
by neclor
6
Limits
Adds constants and utility functions for numeric limits.
Methods
Variant max_value_of(type: Variant.Type) static
Variant min_value_of(type: Variant.Type) static
Example
func example() -> void:
print(Limits.INT_MAX) # Prints 9223372036854775807
print(Limits.INT_MIN) # Prints -9223372036854775808
print(Limits.max_value_of(typeof(123)) # Prints 9223372036854775807
print(Limits.min_value_of(typeof(123))) # Prints -9223372036854775808
Download
Version1.2.0
Download Now
Support
If you need help or have questions about this plugin, please contact the author.
Contact Author