mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-27 05:21:39 +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
|
||
|
}
|