Executes and returns fb(this.b)
if this is a CborValueBoolean, else return a Left with an error message
Executes and returns fb(this.b)
if this is a CborValueBoolean, else return a Left with an error message
Executes and returns fs(this.s)
if this is a CborValueByteStr, else return a Left with an error message
Executes and returns fs(this.s)
if this is a CborValueByteStr, else return a Left with an error message
Applies a function corresponding to this
's type
Applies a function corresponding to this
's type
the function to apply if this
is a CborValueString
the function to apply if this
is a CborValueByteStr
the function to apply if this
is a CborValueNumber
the function to apply if this
is a CborValueBoolean
the function to apply if this
is a CborValueNull
the results of applying the corresponding function
Executes and returns fi(this.i)
if this is a CborValueNumber which holds an number convertible to integer, else return a Left with an error message.
Executes and returns fi(this.i)
if this is a CborValueNumber which holds an number convertible to integer, else return a Left with an error message.
Executes and returns fn(this.i)
if this is a CborValueNumber, else return a Left with an error message.
Executes and returns fn(this.i)
if this is a CborValueNumber, else return a Left with an error message.
Executes and returns fs(this.s)
if this is a CborValueString, else return a Left with an error message
Executes and returns fs(this.s)
if this is a CborValueString, else return a Left with an error message