Mercurial Hosting > chat
comparison src/lib/Utils.luan @ 40:7ea33179592a
email notification
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 27 Feb 2025 16:44:20 -0700 |
parents | 7230c821c368 |
children |
comparison
equal
deleted
inserted
replaced
39:471b13e6ce2c | 40:7ea33179592a |
---|---|
66 end | 66 end |
67 end | 67 end |
68 return false | 68 return false |
69 end | 69 end |
70 | 70 |
71 function Utils.shallow_copy(t) | |
72 local rtn = {} | |
73 for key, val in pairs(t) do | |
74 rtn[key] = val | |
75 end | |
76 return rtn | |
77 end | |
78 | |
71 return Utils | 79 return Utils |