Home Reference Source Repository
import Validation from 'stools/src/Validation.js'
public class | source

Validation

Validation

Static Method Summary

Static Public Methods
public static
public static
public static

Static Public Methods

public static Fail(x: Object): Fail source

Params:

NameTypeAttributeDescription
x Object

is the value of the Fail.

Return:

Fail

public static Success(x: Object): Success source

Params:

NameTypeAttributeDescription
x Object

is the value of the Success.

Return:

Success

public static of(x: Object): Success source

Params:

NameTypeAttributeDescription
x Object

is the value of the Right.

Return:

Success