1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-16 11:37:36 +02:00
ferret/pkg/stdlib/objects/lib.go
3timeslazy 0bc4280d3f Added object 'KEEP' function (#88)
* add unit tests for KEEP function

* added KEEP function

* added doc for KEYS function

* addded isEqualObjects function to objects tests
2018-10-09 16:13:00 -04:00

12 lines
200 B
Go

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,
"KEEP": Keep,
}
}