mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-23 12:51:35 +00: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
|
||
|
}
|