Skip to main content

TermStr

type definition:

type TermStr = Term<PString> & {

readonly utf8Encoded: TermBS

readonly concatTerm: TermFn<[ PString ], PString>
readonly concat: ( other: Term<PString> ) => TermStr

readonly eqTerm: TermFn<[ PString ], PBool >
readonly eq: ( other: Term<PString> ) => TermBool
}

utf8Encoded

utf8Encoded

returns TermStr

equivalent expression:

pencodeUtf8.$( term )

concat

concat

parameter: other type: Term<PString>

returns: TermStr

equivalent expression:

pappendStr.$( term ).$( other )

returns the result of concatenating the term on which the method is defined on and the other argument,

eq

eq

parameter: other type: Term<PString>

returns: TermBool

equivalent expression:

peqStr.$( term ).$( other )

string equality