str

package
v0.8.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Released under an MIT license. See LICENSE.

Package str provides oh's string type.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Is

func Is(c cell.I) bool

Is returns true if c is a *T.

func New

func New(v string) cell.I

New creates a new str cell.

Types

type T

type T string

T (str) wraps Go's string type.

func To

func To(c cell.I) *T

To returns a *T if c is a *T; Otherwise it panics.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL