Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Handler<T>

Abstract base handler

Type parameters

  • T = any

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • Type parameters

    • T = any

    Returns Handler<T>

Properties

Protected _rules

_rules: Rule<T>[] = ...

_type

_type: any

Methods

check

custom

  • Add a custom function to test the value with

    import yxc from "@dotvirus/yxc"
    
    yxc.string().test()
    

    Parameters

    Returns Handler<T>

rule

test

use

validate

Generated using TypeDoc