Home Manual Reference Source

src/fromString.js

import fromIterable from './fromIterable.js';

/**
 * Converts a string to a tape.
 *
 * @example
 * fromString( '1,3,2' ) ;
 *
 * @function
 * @param {string} string - the string to convert
 * @returns {Tape}
 */
const fromString = fromIterable;
export default fromString;