createAssetValidator

Public Function

Parameters
NameDescription

type

Type

props

T.Validator<Props>
Returns
T.ObjectValidator<{
  id: TLAssetId
  typeName: 'asset'
  type: Type
  props: Props
}>
References

T.Validator, T.ObjectValidator, TLAssetId

Edit this page
Last edited on 11 May 2023
cameraTypeValidatorcreateCustomShapeId