-
-
Notifications
You must be signed in to change notification settings - Fork 5
GetPathType
Anthony Headley edited this page Apr 25, 2020
·
1 revision
⚠ Need more examples of proper paths ⚠
Name | Type | Description | Optional |
---|---|---|---|
target | dataobject | Gives the path type of a dataobject |
Type | Description |
---|---|
string | returns the path type. |
local cp = CurrentProfile()
local cu = CurrentUser()
local dp = DataPool()
local pr = Programmer()
Echo(GetPathType(cp)) -- user_profiles
Echo(GetPathType(cu)) -- config
Echo(GetPathType(dp)) -- export
Echo(GetPathType(pr)) -- export