formatText — @gj-kit/format
A public function from @gj-kit/format. The signature below is taken directly from the 0.1.1 release declaration.
Verified import example
Section titled “Verified import example”import { formatText } from '@gj-kit/format';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * The single non-numeric formatter: an empty-cell placeholder. * * The input type is narrowed from the source's `unknown` on purpose. In the * source that `unknown` travelled with a `Number(value || 0)` coercion in the * neighbouring formatters, which rendered "unknown" as a hard zero. */declare function formatText(value: string | number | null | undefined, fallback?: string): string;This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.
Release context
Section titled “Release context”- Package:
@gj-kit/format - Version:
0.1.1 - Public entry:
. - Source: GitHub