Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IFacetPrototype

Index

Methods

createWithValue

  • creates a facet filled with a passed value

    Parameters

    • v: any

    Returns ITypeFacet

isApplicable

  • checks if the facet represented by this prototype can be added to the given type

    Parameters

    Returns boolean

isConstraint

  • isConstraint(): boolean
  • returns true if this facet is a constraint

    Returns boolean

isInheritable

  • isInheritable(): boolean
  • returns true if this facet is inheritable

    Returns boolean

isMeta

  • isMeta(): boolean
  • returns true if this facet describes a metadata

    Returns boolean

name

  • name(): string
  • returns the name of the facet represented by this prototype

    Returns string

newInstance

  • creates brand new instance of facet filled with default values

    Returns ITypeFacet

Generated using TypeDoc