OtherLocatorLocator.mapVersion: 21.0.2On 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>