mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-26 20:52:02 -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
|
||
|
}
|