Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/code_block_writer/utils/string_utils.ts>getStringFromStrOrFunc

Code writer for JavaScript and TypeScript code.
Go to Latest
function getStringFromStrOrFunc
import { getStringFromStrOrFunc } from "https://deno.land/x/code_block_writer@12.0.0/utils/string_utils.ts";

Parameters

strOrFunc: string | (() => string)