FieldHasDefault

Packages > fluid-framework > InternalTypes > FieldHasDefault

Type utility for determining whether or not an implicit field schema has a default value.

This API is reserved for internal system use and should not be imported directly. It may change at any time without notice.

For more information about our API support guarantees, see here .

Signature

export type FieldHasDefault<T extends ImplicitFieldSchema> = T extends FieldSchema<FieldKind.Optional | FieldKind.Identifier> ? true : false;

Type Parameters

Parameter Constraint Description
T ImplicitFieldSchema