Version: 2018.1
public static string IDToName (int id);

Parameters

idThe unique id of the layer.

Returns

string The name of the layer with id or "<unknown layer>" for invalid id.

Description

Returns the unique id of the layer. Will return "<unknown layer>" if an invalid id is given.