UNPKG

@technobuddha/library

Version:
11 lines (10 loc) 244 B
/** * Split a string into an array of characters * @param input - The string * @returns array of characters * @group String * @category Deconstruction */ export function splitChars(input: string): string[] { return Array.from(input); }