numbervalidator

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2022 License: MPL-2.0 Imports: 5 Imported by: 1

Documentation

Overview

Package numbervalidator provides validators for types.Number attributes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NoneOf

func NoneOf(unacceptableFloats ...*big.Float) tfsdk.AttributeValidator

NoneOf checks that the *big.Float held in the attribute is none of the given `unacceptableFloats`.

func OneOf

func OneOf(acceptableFloats ...*big.Float) tfsdk.AttributeValidator

OneOf checks that the *big.Float held in the attribute is one of the given `acceptableFloats`.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL