MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / trim

Function trim

packages/core/css/lib/parse/index.ts:559–561  ·  view source on GitHub ↗

* Trim `str`.

(str)

Source from the content-addressed store, hash-verified

557 */
558
559function trim(str) {
560 return str ? str.replace(/^\s+|\s+$/g, '') : '';
561}
562
563/**
564 * Adds non-enumerable parent node reference to each node.

Callers 6

selectorFunction · 0.85
declarationFunction · 0.85
atsupportsFunction · 0.85
atmediaFunction · 0.85
atcustommediaFunction · 0.85
atdocumentFunction · 0.85

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected