ExPhoneNumber.Formatting.format_nsn_using_pattern

You're seeing just the function format_nsn_using_pattern, go back to ExPhoneNumber.Formatting module for more information.
Link to this function

format_nsn_using_pattern(number, formatting_pattern, phone_number_format, carrier_code)

View Source