Skip to main content

index/variables/validateUploadProfileImageOptions.md

const validateUploadProfileImageOptions: (value) => ValidationResult<{ address?: `eth|${string}` | `client|${string}`; file: File | Buffer<ArrayBufferLike>; privateKey?: string; }>

Validates upload profile image options Replaces: isUploadProfileImageOptions()

Parameters​

ParameterType
valueunknown

Returns​

ValidationResult<{ address?: `eth|${string}` | `client|${string}`; file: File | Buffer<ArrayBufferLike>; privateKey?: string; }>