Skip to main content
Module

x/scaffold/src/deps/types.ts>Trim

scaffold your next project with style and 💗
Latest
type alias Trim
import { type Trim } from "https://deno.land/x/scaffold@0.3.0/src/deps/types.ts";

Remove leading and trailing spaces from a string.

Examples

Example 1

import type {Trim} from 'type-fest';

Trim<' foo '>
//=> 'foo'

Type Parameters

V extends string
definition: TrimLeft<TrimRight<V>>