Presto
GitHub
Getting Started
Packages
View Model
BaseViewModel
isViewModelClass
isViewModelInstance
viewModelFactory
Async Choices
AsyncChoices
AsyncChoicesInterface
useAsyncChoices
Caching
useViewModelCache
ViewModelCache
Errors
InvalidFieldError
MissingFieldsError
Fields
BooleanField
CharField
DateField
DateRangeField
DateTimeField
DateTimeRangeField
DecimalField
DecimalRangeField
EmailField
Field
FileField
FloatField
FloatRangeField
ImageField
IntegerField
IntegerRangeField
JsonField
ListField
ManyRelatedViewModelField
NumberField
PasswordField
RangeField
RelatedViewModelField
TextField
TimeField
URLField
Utils
normalizeFields
ViewModelFieldPaths
Final Form
REST
Routing
UI
UI ANTD
Util
On this page
Arguments
isViewModelInstance
Source
import { isViewModelInstance } from "@prestojs/viewmodel";
isViewModelInstance
<
T
>
(
object
)
Source
Arguments:
Argument
Type
Description
*
object
any
Returns:
boolean