Home

function: decomposeDataUri


decomposeDataUri(dataUri: string): DecomposedDataUri, undefined

Split a data URI into components. Returns undefined if
parameter dataUri is not a valid data URI.

Params:

Name Type Attribute Description
dataUri

the data URI to check

Returns:

DecomposedDataUri, undefined

  {
    "comment": "/**\n * Split a data URI into components. Returns undefined if\n * parameter `dataUri` is not a valid data URI.\n *\n * @memberof PIXI.utils\n * @function decomposeDataUri\n * @param {string} dataUri - the data URI to check\n * @return {DecomposedDataUri|undefined} The decomposed data uri or undefined\n */",
    "meta": {
        "range": [
            3079,
            3378
        ],
        "filename": "index.js",
        "lineno": 133,
        "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\utils",
        "code": {}
    },
    "description": "

Split a data URI into components. Returns undefined if
parameter dataUri is not a valid data URI.

", "memberof": "PIXI.utils", "kind": "function", "name": "decomposeDataUri", "params": [ { "type": { "names": [ "string" ] }, "description": "

the data URI to check

", "name": "dataUri" } ], "returns": [ { "type": { "names": [ "DecomposedDataUri", "undefined" ] }, "description": "

The decomposed data uri or undefined

" } ], "scope": "static", "longname": "PIXI.utils.decomposeDataUri", "___id": "T000002R004367", "___s": true, "filepath": "core\\utils\\index.js" }