Options
All
  • Public
  • Public/Protected
  • All
Menu
     

Interface PTOpts

A config object for PTypes that defines a single PTOpts.sanitizers function.

Hierarchy

Index

Properties

name

name: string

A name for a PType.

type

type: PTKinds

A string representating the primitive-base of a PType.

sanitizers

sanitizers: CBSanitizer

A function that sanitzes a values according your definition of your PType.

Optional iterable

iterable: boolean

true, if the value is a list of (PTOpts.type) values