mirror of
https://github.com/MontFerret/ferret.git
synced 2025-07-05 00:49:00 +02:00
#10 Added 'NewLib' function
This commit is contained in:
10
pkg/stdlib/objects/lib.go
Normal file
10
pkg/stdlib/objects/lib.go
Normal file
@ -0,0 +1,10 @@
|
||||
package objects
|
||||
|
||||
import "github.com/MontFerret/ferret/pkg/runtime/core"
|
||||
|
||||
func NewLib() map[string]core.Function {
|
||||
return map[string]core.Function{
|
||||
"HAS": Has,
|
||||
"KEYS": Keys,
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user