Home

function: deburr


deburr(string: string): string

Deburrs `string` by converting [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table) and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A) letters to basic Latin letters and removing [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).

Example(s):

deburr('déjà vu')
// => 'deja vu'

Params:

Name Type Attribute Description
string The string to deburr.

Returns:

string

  {
    "comment": "/**\r\n * Deburrs `string` by converting\r\n * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\r\n * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\r\n * letters to basic Latin letters and removing\r\n * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\r\n *\r\n * @since 3.0.0\r\n * @category String\r\n * @param {string} [string=''] The string to deburr.\r\n * @returns {string} Returns the deburred string.\r\n * @example\r\n *\r\n * deburr('déjà vu')\r\n * // => 'deja vu'\r\n */",
    "meta": {
        "range": [
            1430,
            1541
        ],
        "filename": "deburr.js",
        "lineno": 37,
        "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\lodash\\lodash-repo",
        "code": {
            "id": "astnode100001532",
            "name": "deburr",
            "type": "FunctionDeclaration",
            "paramnames": [
                "string"
            ]
        }
    },
    "description": "Deburrs `string` by converting\r[Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\rand [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\rletters to basic Latin letters and removing\r[combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).",
    "since": "3.0.0",
    "tags": [
        {
            "originalTitle": "category",
            "title": "category",
            "text": "String",
            "value": "String"
        }
    ],
    "params": [
        {
            "type": {
                "names": [
                    "string"
                ]
            },
            "optional": true,
            "defaultvalue": "''",
            "description": "The string to deburr.",
            "name": "string"
        }
    ],
    "returns": [
        {
            "type": {
                "names": [
                    "string"
                ]
            },
            "description": "Returns the deburred string."
        }
    ],
    "examples": [
        "deburr('déjà vu')\r// => 'deja vu'"
    ],
    "name": "deburr",
    "longname": "deburr",
    "kind": "function",
    "scope": "global",
    "___id": "T000002R000179",
    "___s": true,
    "filepath": "deburr.js"
}