mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-24 19:52:03 -08:00
10 lines
158 B
Go
10 lines
158 B
Go
|
package objects
|
||
|
|
||
|
func builtinCopy(args ...Object) (Object, error) {
|
||
|
if len(args) != 1 {
|
||
|
return nil, ErrWrongNumArguments
|
||
|
}
|
||
|
|
||
|
return args[0].Copy(), nil
|
||
|
}
|