Types
CatchableAssertion = object of CatchableError
- Source Edit
Procs
func myNormalizedPath(path: string): string {....raises: [], tags: [], forbids: [].}
- Source Edit
proc resetOption[T](self: var Option[T])
- Source Edit
func roundPositive[T: float64 | float32](x: T): T
- Source Edit
proc safeIntCast[T: SomeSignedInt](x: T; Target: typedesc[SomeUnsignedInt]): Target:type {. inline.}
- Cast signed integer to unsigned integer. Same as castTarget, but on js backend doesn't use BigInt Source Edit
proc someOption[T: not Option](self: T): Option[T]
- Source Edit
proc someOption[T: Option](self: T): T
- Source Edit
Templates
template maybeFlatten[T](self: Option[Option[T]]): Option[T]
- Source Edit
template maybeFlatten[T](self: Option[T]): Option[T]
- Source Edit
template softAssert(condition: bool; message: string): untyped
- Source Edit
template toOpenArray(s: string): auto
- Source Edit