Function isModel

  • A helper function that determines whether a value is a model of the given type.

    Type Parameters

    • M extends Model<T>

    • T extends string = M["model"]

    Parameters

    • model: T
    • value: any

    Returns value is M

Generated using TypeDoc