Edit of asset "Limits" Accepted
| Old/Current | New/Edit | |
|---|---|---|
| Title | Limits | |
| Description |
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 |
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 |
| Category | Scripts | |
| License | MIT | |
| Repository Provider | GitHub | |
| Repository Url | https://github.com/neclor/godot-limits | |
| Issues Url | https://github.com/neclor/godot-limits/issues | |
| Godot version | Godot 4.0 | |
| Version String | 1.3.0 | 1.3.0 |
| Download Commit | de01db2c416387eef891c99761149dfe31bb8c19 | de01db2c416387eef891c99761149dfe31bb8c19 |
| Download Url (Computed) | https://github.com/neclor/godot-limits/archive/de01db2c416387eef891c99761149dfe31bb8c19.zip | https://github.com/neclor/godot-limits/archive/de01db2c416387eef891c99761149dfe31bb8c19.zip |
| Icon Url |
https://raw.githubusercontent.com/neclor/limits-godot/main/icon.png
|
|