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