import { curry2 } from '@typed/functions' ; name export const split = curry2 ( __split ) ; export type Split = { ( separator , str ) : Array < string > ; ( separator ) : ( str : string ) => Array < string > ; } ; function __split ( separator , str ) { return str . split ( separator ) ; }