aureooms/js-tape

View on GitHub
src/fromString.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
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;