ui-lib/lib/utility/strings.d.ts
2023-08-28 15:04:23 +08:00

7 lines
426 B
TypeScript

export function nullOrEmpty(s?: string | any | null): boolean
export function contains(s: string, key: string | any, ignoreCase?: boolean): boolean
export function endsWith(s: string, suffix: string): boolean
export function padStart(s: string, num: Number, char: string): boolean
export function formatUrl(msg: string): string
export function escapeHtml(text: string): string
export function escapeEmoji(text: string): string