variable startsWithimport { startsWith } from "https://deno.land/x/nameable@v1.1.0-beta.4/deps.ts"; Checks if a string starts with the provided substring. ExamplesExample 1 // Basic startsWith('hello', 'hello world') // true startsWith('good', 'hello world') // false Example 2 // Curry const startWithSlash = startsWith('/') startWithSlash('/path/to') // true type<T extends string, U extends string | undefined = undefined>(val: T, target?: U) => StartsWith<U>