Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 549 Bytes

File metadata and controls

37 lines (25 loc) · 549 Bytes
name append
menu string

string/append

append :: String -> String -> String

Appends a String to another String

Example

import { log, pipe, run, append } from 'mojiscript';

const state = 'Moji'

const main = pipe ([
  append ('Script'),
  log
])

run ({ state, main })
// => "MojiScript"

Parameters

Name Type Description
post String String to append to other String
pre String String to be appended to.

Returns

Appended String.