OtherLocatorLocator.mapVersion: 21.3.3On this pageLocator.map() methodMaps the locator using the provided mapper.Signature:class Locator { map<To>(mapper: Mapper<T, To>): Locator<To>;}ParametersParameterTypeDescriptionmapperMapper<T, To>Returns:Locator<To>