tl.range(from, to, inc)
Arguments:
from(int): start index.end(int): end index. Optional, Default:end.inc(int): value to increment by. Optional, Default:1.
Returns:
- (
table) indices fromfromtoto, incrementing byinc
tl.equals(a, b)
Arguments:
a(table): first object.b(table): second object.
Returns:
- (
boolean) whether the two objects are equal to each other
tl.deepcopy(t)
Arguments:
t(any): object to copy.
Returns:
- (
any) deep copy
from https://gist.github.com/MihailJP/3931841
tl.copy(t)
Arguments:
t(any): object to copy.
Returns:
- (
any) shallow copy