Ship

Files · src/Text.shc

src/Text.shc

examples/003-utility-functionsRaw
12345
/// Add text before and after a value.
let surround: pure fn!(value: String, prefix: String, suffix: String) -> String;

/// Report whether a value begins with a required prefix.
let has_prefix: pure fn!(value: String, prefix: String) -> Bool;