refactored data-types to reduce plugin sizes

This commit is contained in:
2026-06-08 07:02:56 +02:00
parent fec7cc546c
commit b6da9bcad4
90 changed files with 1039 additions and 803 deletions
+20
View File
@@ -0,0 +1,20 @@
// Copyright (c) 2024-2026 Celestino Amoroso (celestino.amoroso@gmail.com).
// All rights reserved.
// types.go
package types
// func TypeName(v any) (name string) {
// if v == nil {
// name = "nil"
// } else if typer, ok := v.(kern.Typer); ok {
// name = typer.TypeName()
// } else if IsInteger(v) {
// name = "integer"
// } else if float.IsFloat(v) {
// name = "float"
// } else {
// name = fmt.Sprintf("%T", v)
// }
// return
// }