Amplify JS API Documentation
Library Documentation
NPM
GitHub
Preparing search index...
aws-amplify
datastore
GraphQLScalarType
getValidationFunction
Function getValidationFunction
getValidationFunction
(
scalar
:
|
"ID"
|
"String"
|
"Int"
|
"Float"
|
"Boolean"
|
"AWSDate"
|
"AWSTime"
|
"AWSDateTime"
|
"AWSTimestamp"
|
"AWSEmail"
|
"AWSJSON"
|
"AWSURL"
|
"AWSPhone"
|
"AWSIPAddress"
,
)
:
(
(
val
:
string
)
=>
boolean
)
|
(
(
val
:
number
)
=>
boolean
)
|
undefined
Parameters
scalar
:
|
"ID"
|
"String"
|
"Int"
|
"Float"
|
"Boolean"
|
"AWSDate"
|
"AWSTime"
|
"AWSDateTime"
|
"AWSTimestamp"
|
"AWSEmail"
|
"AWSJSON"
|
"AWSURL"
|
"AWSPhone"
|
"AWSIPAddress"
Returns (
(
val
:
string
)
=>
boolean
)
|
(
(
val
:
number
)
=>
boolean
)
|
undefined
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Library Documentation
NPM
GitHub
Amplify JS API Documentation
Loading...