dbGetRouteAuthor
dbGetRouteAuthor(d_routeId[g_getSubAuthor] ) =>t_authorType/l_authorAndSubAuthorType
Description
Returns the author and, optionally, the sub-author, type of the specified route.
Arguments
|
Boolean specifying whether the sub-author type of the route must also be retrieved. |
Value Returned
Examples
rt1 = dbCreateRoute(MainCV mainNet t "normal")
db:0x1f7b9c1a
Retrieves the author type of the route rt1.
dbGetRouteAuthor(rt1)
=> "Manual"
Retrieves the author type of the route rt1.
dbGetRouteAuthor(rt1 nil)
=> "Manual"
Retrieves the author and sub-author type of the route rt1.
dbGetRouteAuthor(rt1 t)
=> ("Manual" "None")
Related Topics
Return to top