Options
All
  • Public
  • Public/Protected
  • All
Menu

Package sanitizers

@typescript-entity/sanitizers

Sanitizer functions for common sanitization strategies.

For use with the @typescript-entity library.

Index

Type aliases

ToBooleanOptions

ToBooleanOptions: { strict?: undefined | false | true }

Type declaration

  • Optional strict?: undefined | false | true

Functions

Const toBoolean

Const toDate

Const toFloat

Const toInteger

Const toNumber

Const toString

  • toString(value: unknown): string

Generated using TypeDoc