Quick actions

cmd+k|ctrl+k

Navigation

Languages

Custom string methods

Snippet info

Language

Lua

Visibility

public

Author

rightfold

Created

2016-10-03T10:14:20Z

Updated

2016-10-03T10:14:58Z

t = getmetatable("")
function t.__index:twice()
    return self .. self
end
print(("hi"):twice())
INFO