Module

x/lodash_es/src/trim.js>default

lodash for deno use
Latest
function default
import { default } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/trim.js";

Removes leading and trailing whitespace or specified characters from string.

Examples

_.trim(' abc '); // => 'abc'

.trim('--abc--', '-'); // => 'abc'

_.map([' foo ', ' bar '], _.trim); // => ['foo', 'bar']

Parameters

string
chars
guard